Bhagavad Gita, Chapter 14, Verse 19
When the seer beholds no agent other than the Gunas and knows That which is higher than the Gunas, he attains to My being.
Wisdom here means seeing that the guṇas, not the self, are doing all the acting.
Seeing this clearly, and recognizing something beyond the guṇas at the same time, is named as what leads to attaining that higher nature. Insight and transcendence are shown arriving together.