You never learn something until and unless you yourself experience it. And generally, the most important lessons in life are taught to us by the pain that we suffer. What you learn from pain is what comforts in life can never teach you.
The pain gives you the power through which you can endure any situation. Once you’ve suffered pain and have learnt the right lessons, you are able to stand up even stronger then before after every fall.
Though it is upon you, who has to decide whether you embrace that pain and learn from it or whether you rebel against it and regret later.