The Spartans get way too much hype but they also had a fairly respectable run for a while. They beat Persia and then Athens. Were the athenians even bigger losers?
I hope you're not counting Thermopylae as them 'beating Persia'. Thermopylae was a defeat. Marathon and Salamis seem to be more important than Thermopylae (and are victories), and those were led by Athens as far as I can make out. You may be referring to Plataea, which was led by Sparta, but included forces from the whole Greek alliance, including nearly as many troops from Athens as Sparta.
As to them beating Athens, that was only after the intervention of the Persians in support of Sparta.
- first invasion where persian were defeated by athens, and sparta was not involved much because persian didn't come to sparta close
- second, much larger invasion, where persians again attacked athens first, essentially defeated athens (athenians left the city), then athenians asked sparta to join the war or otherwise they will surrender to persians. Sparta assembled army, and defeated persians in the battle of plataea.
It looks like spartans defeated persians, and athenians would surrender if no sparta's involvement