Spartan boy was more attach to the troops than his family. Why because he spend more time with the troops instead of his family.
The reason for whipping the boys who were caught stealing was because they punish a learner for not carrying out properly whatever he is taught to do.
These were the helots. The helots, perhaps 100,000 in number, were the local people that Sparta had conquered on its way to ruling the Peloponnese.
According to the seven Topics The importance of reading; The Spartan children were taught to read but only for "practical reasons" the Spartans didn't really care much for an education they only cared about physical education and The boys of Sparta were lashed with whips during the entire day at the altar of Artemis Orthia, frequently to the point of death, and they bravely endured this, cheerful and proud, vying with one another as to which one of them could endure being beaten for the longer time and the greater number of blows.
The purpose for training Spartan girls to wrestle, run, and throw because then spartan boy are training the spartan girls to be strong because so when they give birth it will be easier for them.