Whatever I'm about to say may sound hollow, given that I've not been in your shoes.
At my previous (well known tech) company, we had a number of older Romanians who grew up in the Communist era. I became close with one of them. And the stories he told me were just harrowing. They were not at war, but the government simply couldn't provide for the people (other than giving them a good education). The struggle for basic necessities in the 80's became real. He had a wife and a newborn, and the wife was sick, and they couldn't afford any furniture. There was real concern the baby would die because the mother couldn't get even basic rest (no mattress, no bed, sleeping on concrete floor, etc).
The stuff he had to do to ensure she got a bed was crazy.
And then later there were food shortages, etc. Dodging bullets, etc.
But they all somehow persevered and focused on surviving. And then got out of the country as soon as the borders opened up. Eventually, because of their skills, they got great jobs. Very senior and well respected in the company.
But of course, they know people who did lose hope and ultimately committed suicide.
Living in the US, I've encountered lots of former refugees from war zones. People like yourself with skills did well here. For sure they struggled, but eventually they all "made it".
If you have skills, I hope you can last long enough to get there too.