As-salamu alaykum, we know الله wills anything but what do we say to someone who says “if i keep practicing i will eventually earn it not matter what “?

Ustadh AbdulAziz al-Haqqan
Tell him that deeds are a cause of entering Jannah, not its price, and no one enters it by his deeds alone but by the mercy of Allah, as the Prophet ﷺ said (Muslim). Shaykh Ibn Uthaymin said one must not be deceived by his deeds and should always ask Allah for steadfastness and a good ending.