Sura An-Nahl

16:58

وَإِذَا بُشِّرَ أَحَدُهُم بِٱلْأُنثَىٰ ظَلَّ وَجْهُهُۥ مُسْوَدًّۭا وَهُوَ كَظِيمٌۭ

Då någon av dem får höra den glada nyheten om en dotters [födelse], mörknar hans uppsyn och vreden kokar i honom;

Tafsir 16:58

When one of these idolaters is given the news of the birth of a female his face darkens due to the extreme dislike of such news and his heart is filled with worry and grief. Then, he attributes to Allah what he does not like for himself!