Or He makes them [both] males and females, and He renders whom He wills barren. Indeed, He is Knowing and Competent.
The Saheeh International Quran Translation
أَوْ يُزَوِّجُهُمْ ذُكْرَانًا وَإِنَٰثًا وَيَجْعَلُ مَن يَشَآءُ عَقِيمًا إِنَّهُۥ عَلِيمٌ قَدِيرٌOr He makes them [both] males and females, and He renders whom He wills barren. Indeed, He is Knowing and Competent.