Luqman - 31:12
"We gave wisdom to Lokman: "You should give thanks to Allah."Whoever is grateful is grateful for himself, and whoever is ungrateful, surely Allah is not needy, the Most Praised."
If you do not give thanks and turn away and become ungrateful, Allah is rich to replace you with a people who will not be ungrateful:
The Cattle/6:133
Your Lord is Rich, the Owner of Mercy. If He wills, He will take you away and replace you with whom He wills after you, just as He brought you from the descendants of others.
Originator/35:15
O mankind, you are dependent on Allah, but Allah is not dependent on anyone, the Praised.
Originator/35:16
If He wills, He will take you away and bring in your place new creatures.
Originator/35:17
This is not difficult for Allah.
Muhammad/47:38
You are called to spend in the Way of Allah, but some of you are stingy. Whoever is stingy is stingy towards himself. Allah is rich and you are poor. If you turn away, He will replace you with another people, but they will not be like you.
The Table Spread/5:54
Believers, whoever turns away from his religion, know this: Allah brings a people whom He loves, and they love Him. They are humble towards the believers and strong and firm against the disbelievers. They strive hard in the way of Allah and do not fear the condemnation of those who condemn. This is the bounty of Allah; He gives it to whom He wills. Allah is Generous, Knowing.
The Cattle/6:89
Those are they to whom We gave the Book and wisdom and prophethood. If that people disbelieve in them, We will replace them with a people who will not disbelieve in them.