https://en.wikipedia.org/wiki/Homosexuality_in_the_militaries_of_ancient_Greece
According to tradition, the Greeks structured military units along tribal lines, a practice attributed to Nestor in the Homeric epics. The Theban military commander Pammenes, however, is supposed to have advocated military organization based on pairs of lovers:[6]
Homer's Nestor was not well skilled in ordering an army when he advised the Greeks to rank tribe and tribe … he should have joined lovers and their beloved. For men of the same tribe little value one another when dangers press; but a band cemented by friendship grounded upon love is never to be broken.
One such example took place during the Lelantine War between the Eretrians and the Chalcidians. In a decisive battle the Chalcidians called for the aid of a warrior named Cleomachus. Cleomachus answered their request and brought his lover along with him. He charged against the Eretians and brought the Chalcidians to victory at the cost of his own life. It was said he was inspired with love during the battle. Afterwards the Chalcidians, erected a tomb for him in their marketplace and reversed their negative view of homosexuality and began to honor it.[7] Aristotle attributed a popular local song to the event:[8]
Ye lads of grace and sprung from worthy stock
Grudge not to brave men converse with your beauty
In cities of Chalcis, Love, looser of limbs
Thrives side by side with courage
The importance of these relationships in military formation was not without controversy. According to Xenophon, the Spartans abhorred the thought of using the relationships as the basis of unit formation for placing too much significance on sexuality rather than talent. This was due to their founder Lycurgus who attacked lusts on physical beauty regarding it as shameful. Xenophon asserted that in some city-states the lovers would not even have conversations with one another. He said this type of behavior was horrible because it was entirely based on physical attractions:[9]
If as was evident it was not an attachment to the soul, but a yearning solely towards the body, Lycurgus stamped this thing as foul.
Nonetheless city states that employed the practice in determining military formation enjoyed some success. The Thebans had one such regiment as the core of their entire army. They attributed this group called the Sacred Band of Thebes for making Thebes the most powerful city-state for a generation until its fall to Philip II of Macedon. Philip II of Macedon was so impressed with their bravery during the battle he erected a monument that still stands today on their gravesite. He also gave a harsh criticism of the Spartan views of the band:[10]
Perish miserably they who think that these men did or suffered aught disgraceful.
One of the prominent Greek military figures enjoying such a relationship was Epaminondas, considered the greatest warrior-statesmen of ancient Thebes by many, including the Roman historian Diodorus Siculus. He had two male lovers: Asopichus and Caphisodorus, the latter died with him at Mantineia in battle. They were buried together, something usually reserved for a husband and wife in Greek society. Another pair of warrior-lovers—Harmodius and Aristogeiton—credited with the downfall of tyranny in Athens and the rise of democracy became the emblem of the city.