Ralph Waldo Emerson said this quote

Nothing external to you has any power over you.