Everything happens for a reason and always comes with a lesson to learn. Don't blame yourself, don't regret it, just keep your head cool and say thanks for the lesson.
This is a good line. When negative things happen people often lay blame rather than embrace the lesson which negates the lesson most times. It seems you turned out well and that you learned from your past indicates you'll do so again and make your future even better.
Thank you so much for your kind comment. In the last two years, I had a chance to learn more about resilience and mental wellbeing which helps me understand myself better.
There are a lots of things I need to learn more and I am so excited. Enjoy your weekend.