Training success is not the goal
How learning training-specific details rather than reliable patterns leads to strong training results but poor performance on unseen data. · foundational
A model learns from training data: examples used to adjust its predictions. Its results on those examples are its training performance. Those results show how well it fits familiar examples, not necessarily how useful it will be on new ones.
The goal is generalization: performing well on unseen examples from the population where the model will be used. For example, a model trained to recognize cats should recognize new cat photos, not just the photos used during training.
Overfitting happens when a model learns details specific to its training examples that do not reliably hold beyond them. It can achieve excellent training results while making many mistakes on unseen data. Strong training performance alone therefore does not establish generalization.