Homosexuality in the militaries of ancient Greece was regarded as contributing to morale. Although the primary example is the Sacred Band of Thebes, a unit said to have been formed of same-sex couples, the Spartan tradition of military heroism has also been explained in light of strong emotional bonds resulting from homosexual relationships. Various ancient Greek sources record incidents of courage in battle and interpret them as motivated by homoerotic bonds.
Some Greek philosophers wrote on the subject of homosexuality in the military. In Plato's Symposium, the interlocutor Phaedrus commented on the power of male sexual relationships to improve bravery in the military:
... he would prefer to die many deaths: while as for leaving the one he loves in a lurch, or not succoring him in peril, no man is such a craven that the influence of Love cannot inspire him with a courage that makes him equal to the bravest born
However, the Symposium is a dialectical exploration of the nature of true love, in which Phaedrus' views are soon found to be inadequate compared to the transcendent vision of Socrates, who:
...seizes this favourable moment in the talk at Agathon's party to suggest that visible beauty is the most obvious and distinct reflection in our terrene life of an eternal, immutable Beauty, perceived not with the eye but with the mind. He preaches no avoidance of the contest with appetite, but rather the achievement of a definite victory over the lower elements of love-passion, and the pursuit of beauty on higher and higher levels until, as in a sudden flash, its ultimate and rewarding essence is revealed.
Xenophon, while not criticizing the relationships themselves, ridiculed militaries that made them the sole basis of unit formation:
they sleep with their loved ones, yet stations them next to themselves in battle ... with them (Eleians, Thebans) it's a custom, with us a disgrace ... placing your loved one next to you seems to be a sign of distrust ... The Spartans ... make our loved ones such models of perfection that even if stationed with foreigners rather than with their lovers they are ashamed to desert their companion.
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: