The thought that predominates at the time of death, lays the foundation on which the next birth is built.
Feelings – thoughts – discrimination – focused on worldly things lead to knowledge.
Feelings – thoughts - discrimination – focused on spiritual goals lead to Wisdom.
Our feelings should be transformed into wisdom. Mere knowledge is useless.