Thanos does not understand population growth, and by his own logic doomed the universe.
His solution was to kill off half the population of the universe, at random, so there were more resources per survivor.
But then he destroys the Infinity Stones, meaning he can never do it again. So…what happens when populations return to their old levels? That might only take decades.
Conclusion: Thanos was a bad economist.