The good thing is that you were able to come out of that situation alive and are now better off than before, that's truly what matters in the end. Everyone faces tough times at one point in their life or another but it doesn't last long because a solution always comes up later