It should be clear that the Promised Messiah(as) came in servitude to the Holy Prophet(sa) in order to eradicate Shirk from the world.
Did we keep ourselves away from such events that lead to ill thoughts?