This line from the Agile manifesto is frequently misunderstood: "Simplicity--the art of maximizing the amount of work not done--is essential."
The framing of simplicity to be achieved by simply NOT doing work is misleading. Simplicity isn’t only YAGNI (You Ain’t Gonna Need it).