You Aren't Gonna Need It (YAGNI) simply states that functionality should only be added when it is required. Sometimes in software development, there is a tendency to futureproof a design in case something changes. This can create requirements that are actually not needed currently or in the future:
"Always implement things when you actually need them, never when you just foresee that you need them."
- Ron Jeffries