“Exposure” was common & allowed for the “gods” to will whether or not an infant would live. Pitching the infants off of a cliff or sacrificing them in fire was considered to be barbaric, even by societies that practiced their own form of infanticide.
Essentially, it allowed for a couple who wanted the child to take it and adopt it