Ukraine, before the war started, was the second poorest country in Europe.
Only Kosovo, which is a tiny country from the former Yugoslavia, has a lower GDP per Capita than Ukraine.
That is why Ukraine is a technology powerhouse, plenty of programmers willing to work for a very cheap wage.