Yes, we learned to use less powerful languages where it was appropriate because they're more readable and less susceptible to technical debt.
This principle, in other words : https://en.wikipedia.org/wiki/Rule_of_least_power
Ant XML was as powerful as Java - it was turing complete and terribly designed to boot. That was its primary failing.
Likewise, using turing complete PHP to generate HTML was never as clean as using a less powerful templating language (like jinja2) to generate the HTML. Separation of concerns with a language barrier is a good thing.
If all of this means nothing to you, you've probably created some huge code messes in your time.