I have found that if I label all the things that have not worked out in my life as mistakes....it is an act of shaming myself.
Instead I try to reframe it. I imagine you are gathering awareness, insight and wisdom from this experience....and will approach it differently down the road next time.
Please be gentle with yourself, but keep the focus on you.