(There are no spoilers here.)
The Thanos snap in the previous film is not just wrong it’s foolish. Every population at some point was nearly or exactly half what it is now. So halving populations is intrinsically temporary. His entire proposition was foolish for that reason alone. (There are MANY others, just as damning.)
So the core context of the film is stupid. Or it has a lie to sell? Death is not a necessary evil. These films exist to convince you otherwise. I leave figuring out why to other contexts.
The stones are retconned into specific impotence to serve the death trance, and that trance is basically the core moral of the film.
Imagine a country spent billions trying to tell everyone death is awesome for some sort of religious reason, and made super hero propaganda films to lie to people in service of that maxim.
That happened. And it’s called the Marvel Cinematic Universe.