懲りる

Verb

 * 1) to be demotivated by obstacles or failure
 * 2)  to learn from failure, to learn one's lesson