Not all thinking and all emotion are of the ego. They turn into ego only when you identify with them and they take you over completely, that is to say, when they become "I".
Eckhart Tolle (2006). “A New Earth (Oprah #61): Awakening to Your Life's Purpose”, p.89, Penguin