It is widely understood that Thanos was insane. Resources aren't naturally limited and his campaign of slaughtering half the populations of planets didn't ensure plenty for the masses. What he accomplished was to teach otherwise isolated civilizations that unless they put aside their differences and worked together they were vulnerable to devastating attack.
The only scarcity there is or ever has been is artificially created by either ineptitude or purposeful in order to prop up the wealthy who are given ownership of land and resources.
If he truly wish for a prosperous universe he would have snapped those fingers and installed the knowledge to create a post scarcity society on every planet with intelligent life in all beings. Because with all things the answer is EDUCATION NOT DEATH.