Sparta was all about rewarding competence, while Communism is about helping others.
These two aren't opposite. Sometimes helping people makes them more competent.
USA spent over 100 billions in war against Iran.
For that money, USA could have built 500.000 new houses and basically end all homelessness in USA.
Sparta doesn't fight pointless wars. Fighting pointless wars is economically dumb.