The past does not define you, unless you allow it to do so. Don't wallow in self-pity & blame, learn from the past to work for the future. Hadith says, "Don't say, 'If only I had done this, then that would not have happened."
The past happened in order to shape a better future.
If you’re reading this,you’re among those that Allah gave another chance to set their affairs right,many didn’t make it to this morning,many didn’t expect to wake up in the grave,try and make today better than yesterday,pray on time,increase your good deeds and Repent.