Regardless of nobody being absolutely sure about who said this, there is a more or less shared consensus about history being written by the victors. After they had finished butchering the heros

execution of William Wallace

William Wallace

The problem being that most (written) history is a compelling proof that too often the ability to win doesn’t necessarily imply a real understanding of what had happened during the contest!