Got fired today and I don’t know how to cope

Just got fired today after being onboard for 12 years, at the local city here. Had an outburst with a shitty colleague a few weeks ago and they decided to fire me with a few months pay. It’s my own fault due to circumstances but I never expected this outcome. I feel super depressed. I really liked the job and imagined being here until my retirement.

I’m 42 now with my partner relying on me financially and I didn’t goto college so my options aren’t huge either. I feel like a true failure letting my wife down.

Edit: thanks everyone for your support, it means a lot. I should have probably mentioned this firstly in my post but I’m EU based so a lot of things probably don’t work for my situation but I appreciate everyone nonetheless ❤️ I will try to give it a little bit of time and hop back on the wagon somehow. It’s 3am here right now so I’m gonna try and get some rest