This is such a misguided take. Agile is the only philosophy that understands what software really is: a continuously evolving thing while still solving a specific business problem. Approaches like waterfall fail miserably because they think software is set in stone when the project starts.
Where Agile can go wrong, from my experience, is that people fall into the trap of going down a rabbit hole of expanding or changing requirements without having a particular problem or goal in mind. But this is just a misapplication of software development, not an indictment of Agile.