Happy is the man that findeth wisdom, and the man that getteth understanding.
Your thought life, not your circumstances, determines your happiness. That's why it is so important to think about what you are thinking about. Meaning, pay attention to the things that come into your mind. If they are not edifying or righteous, discard them. You'll be glad you did!