phrasal-verb
turn failure into
Meaning
to transform a failure into a learning or success opportunity
Example
He tried to **turn failure into** motivation for his next project.