The dominion of the heavens and the earth belongs to Allah. He creates whatever He pleases. He grants females to whomever He pleases and males to whomever He pleases , or grants them a mix of males and females, and causes whomever He pleases to be barren. He is All- Knowing, All-Powerful.
And Allah has given you spouses from your kind, and has granted you through your spouses, sons and grandsons, and has provided you wholesome things as sustenance. (After knowing all this), do they still believe in falsehood and deny Allah's bounty, and worship instead of Allah, those helpless beings who have no control over providing them any sustenance from the heavens and the earth; do you worship those who have no power to do anything of this sort?