Example, battle of Cannae.
Add on question, if I may:
How did defeated enemies collect their dead? Were they always piled into a mass grave and just buried without honors or was it like in the movies where they allowed the opposing side to come and collect?