The part about hostility is a perfect observation. The reason is that compulsive thoughts are usually driven by fear.
And what would it be like if we could train our brains to think empathetic thoughts about the people around us? This is the premise of the book How to Make Friends and Influence People. The results are very powerful and lead us further to fulfilling our aims than fear infused thinking.