How do you tell a teenager that heart brake is temporary?

i once got told by my uncle “its like doing badly on a test, you’re upset when you get the results, and maybe even for a few weeks after, but then you realise that crying over a bad test result isn’t changing anything, so instead you put your energy into doing well on the next test, and suddenly the test you did bad on is nothing but a motivation reminder” lol