Allah chooses for Himself whoever He wills

ٱللَّهُ يَجْتَبِىٓ إِلَيْهِ مَن يَشَآءُ وَيَهْدِىٓ إِلَيْهِ مَن يُنِيبُ 

Allah chooses for Himself whoever He wills, and guides to Himself whoever turns ˹to Him˺.