Sparta was built on slavery, their obsession with war was necessary to keep their slaves in check and deal with constant uprisings, it was very practical for their way of life.