The Cow - 2:105 Neither the disbelievers of the People of the Book nor the idolaters wish that any good should be sent down to you from your Lord. Allah bestows His mercy on whom He wills. Allah is the owner of great bounty.
Prophethood and the Book are the mercy and grace of our Lord which He bestows on whom He wills:
The Iron/57:29 So that the people of the Book may know that they cannot monopolize the bounty of Allah; all bounty is in the hand of Allah, and He gives it to whom He wills and/or to whom He wills. Allah is the Owner of Great Grace.

The Women/4:54 Or do they resent what Allah has given to mankind from His bounty? But We gave to the family of Abraham the Book and wisdom, and We gave them great authority.

The Night Journey/17:86 If We willed, We could take back what We have revealed to you, and you would not find any protector against Us.
The Night Journey/17:87 But there is the mercy of your Lord. His favor towards you is great.

The Stories/28:86 You did not expect that you would be given this Book, but this is a mercy from your Lord. Do not back the disbelievers.

The Cow/2:90 Woe to those who sell their personalities to disbelieve in what Allah has sent down, not despising that Allah sends down His bounty to whom He wills of His servants! So they incurred wrath upon wrath. For the disbelievers is a humiliating torment.

Prophet Abraham/14:11 "And their messengers said to them: "Surely we are human beings like you. But Allah chooses whom He wills from among His servants and bestows favor upon him. It is impossible for us to bring you a certificate of authority without Allah´s permission. Believers should trust in Allah."