Set your mind that no matter what is going on in your life, you will have a good attitude.
or simply: