Contemplation what thinking energy-phenomena is on itself, can really be subtle. It reveals subtle mind cheatings by digging in the mud of grasping, choosing creations related to objects. Those objects are a reflection of mind.
Ego-clinging get birth in it. Like an oister protecting itself when its' mantle is been irritated by something, the oister makes a pearl is me said. A pearl of ego?
In one approach, awareness, the thinking energy appears as wisdom and thoughts are having their own purifying power. In wisdom thoughts are not having a deluded quality. They are empty, arise spontaneous and can feed our awareness.
Practical example Mingyur.
“Sentient beings, self and others, enemies and dear ones—all are made by thoughts. It is like seeing a rope and mistaking it for a snake. When we think that the rope is a snake, we are scared, but once we see that we are looking at a rope, our fear dissipates. We have been deluded by our thoughts. Likewise, mentally fabricating self and others, we generate attachment and aversion.” ~Dilgo Khyentse Rinpoche