When the olympic games started did war happen in ancient Greece?

All wars were paused during the olympic games in ancient Greece.