One thought that has helped me work through past mistakes and painful times is this one:
Nothing is wasted.
You may feel like you weren’t ready, you didn’t have the tools, etc.: however, the experiences we have all give us a gift, and that gift can wait until we are ready to receive it. Nothing is wasted. I hope you’re able to see and accept whatever gift you were given in a painful situation.
Thanks for reading.