When I lost my job from Intel in 2016 I was devastated. Being in the late-40s and trying to get a job is not easy. It broke me just thinking I may fail my children.
I found a job that I like and coworkers that I like and you will find one job too and very likely in a better company.
I know from experience that it is easier said than done and I remember the mix of emotions that I had to go thro'- a kind of mourning, optimism, confidence, weakness, sleeplessness, study, apply for jobs, pretend with my kids that everything is fine.
I hate Intel but I wish Intel did well just so none of the guys in my position and especially age would lose their job.
Its not easy to be without a job but remember the positive things. You will struggle for a bit but you will find a job.