Originally Posted by Aquarian
لِلَّهِ مُلْكُ السَّمَاوَاتِ وَالأرْضِ يَخْلُقُ مَا يَشَاءُ يَهَبُ لِمَنْ يَشَاءُ إِنَاثًا وَيَهَبُ لِمَنْ يَشَاءُ الذُّكُورَ
The kingdom of the heavens and earth belongs to Allah. He creates whatever He wills. He gives daughters whoever He wishes; and He gives sons to whoever He wishes;
أَوْ يُزَوِّجُهُمْ ذُكْرَانًا وَإِنَاثًا وَيَجْعَلُ مَنْ يَشَاءُ عَقِيمًا إِنَّهُ عَلِيمٌ قَدِيرٌ
or He gives them both sons and daughters; and He makes whoever He wishes barren. Truly He is All-Knowing, All-Powerful.
(Shura: 49 - 50)
There's no contradiction between this and the other ayat. It doesn't necessarily mean that we shouldn't make dua for children. If that were so, why would those other duas have been mentioned in the Quran?