The Pilgrimage - 22:37 Neither their flesh nor their blood reaches Allah; only your righteous deeds reach Him. He has made them at your service so that you may remember the greatness of Allah for guiding you to the truth.
Related:
The Heights/7:43 "We removed from their breasts hatred and jealousy, while rivers flowed beneath them: "Praise be to Allah who has guided us to this. We would not have found the truth had not Allah guided us to the truth, and the messengers of our Lord brought the truth". They said to themselves: "This Paradise is yours. You have inherited it in return for what you used to do."