First part sounds nice and I believe is true. Nice thoughts improve the quality of my day.
The second part about controlling thoughts may however sound horrific to those with OCD. They just can't stop having unwanted thoughts.
I literally think of the most horrible things all the time. A better of saying that is, horrible thoughts come to me all the time. That does not mean I agree with my brain farts nor that I have to act on them in anyway. The more such person tries to control these thoughts that harsher they get.
I think it would be sad to continuously feel ashamed of having bad thoughts. It took me long therapy sessions to make peace and let go.