The perspective that changed is twofold: first is that a job does provide life (your kid's), and second is that life is LONG. If you don't get rich by 30, you can get rich by 40 and still have a long time to do whatever you think is impactful.
The thing I try to do now is to accept my situation and only think about what I can do to improve it. Play the hand you are dealt and don't think about what could have been. That is an endless loop of despair. It takes time to truly understand how to be grateful for what you have. I wasted all I had, including money, because I was not grateful. Now all I have to do is look at my beautiful baby to be grateful.