A teacher teaches lesson

Life is more strict than a teacher,
A teacher teaches lesson and then keeps the exams

But LIFE keeps the exam first and then teaches the lesson.