Thats what koran mentioned centuries ago "When the female infant, buried alive, is questioned - for what crime was she killed; when the scrolls are laid open; when the World on High is unveiled; when the Blazing Fire is kindled to fierce heat; and when the Garden is brought near - Then shall each soul know what it has put forward. So verily I call"
“Kill not your children on a plea of want. We provide sustenance for you and for them. Come not near shameful deeds, whether open or secret. Take not life which Allah has made sacred.”
Surah Al-Nahl (Chapter 16), Verses 58 and 59 (16:58-59)
“When news is brought to one of them of (the birth of) a female (child), his face darkness, and he is filled with inward grief!
With shame does he hide himself from his people, because of the bad news he has had! Shall he retain it on (sufferance) the choice they decide on?”