The vile custom of exposing unwelcome female babies probably created a certain preponderance of males in Attica, and made it relatively easy to marry off a desirable young girl.
It's easy to pick on the Spartiate, but the fabled Athenians engaged in it also.