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.
The sun shines impartially.