Context Word: failure. 
Question: PersonX became a life coach to PersonY, and _ taught the lesson of not taking failure so seriously. 
Answer: PersonX
PersonX became a life coach to PersonY, and _ learned the lesson of not taking failure so seriously.