Be sure to keep your thoughts on worthy, honorable, and pleasant things. This will keep you thinking on what is good and positive.
Read: Philippians 4:8
And now, dear brothers and sisters, one final thing. Fix your thoughts on what is true, and honorable, and right, and pure, and lovely, and admirable. Think about things that are excellent and worthy of praise.
