Become better developer and work remotely for better wealthier countries. Probably cutting the middle tech manager.
If your wage as tech worker relatively sucks compared to local wages, whatever country you're in, you're probably doing it wrong.
If your wage as tech worker relatively sucks compared to local wages, whatever country you're in, you're probably doing it wrong.
Perhaps you would need to find remote work or learn another language. Or simply work hard(er). Whatever it takes.