Why did Sparta become a military society?

Sparta became a military society in order to protect itself from its rival city-state, Athens. Sparta was a small city-state surrounded by much larger and more powerful neighbors, and so it needed to develop a strong military in order to defend itself. The Spartan government also believed that a strong military was necessary to maintain its power and influence in the region.