For by grace are ye saved through faith; and that not of yourselves: it is the gift of God: Not of works, lest any man should boast. – Ephesians 2:9
If salvation had been by works, our Lord could not have said to the thief, dying at His side, “To day shalt thou be with Me in paradise.” That man could do no works. His hands and feet were fastened to the cross, and he was in the agonies of death. No, it must be of grace, all-conquering grace; and the modus operandi must be by faith, or else for dying men the gospel is a mockery. The man must look, and live. The expiring sinner must trust the expiring Savior. As life ebbs out, the penitent must find life in Jesus’ death. Is it not clear that the gospel of works is unsuitable in such a case as that? Now, a gospel which is unsuitable to anybody is not the gospel of our Lord Jesus Christ. Yes, I put it plainly. A gospel that does not suit everybody does not suit anybody; and if it suits any class and condition really and truly, it must suit all classes…The gospel of salvation by grace, through faith, is suitable for every class of persons that we have to deal with. Sinful habit has bound in iron fetters many of our fellow-citizens, and the gospel can free them. Be the habit drunkenness, or profanity, or what it may, the habit holds them fast… The forces of natural depravity, and the acquired habits of sin in many cases, I think you will grant it, put the doctrine of salvation by works out of court; and if out of court as to one, it is gone as to all; for there can be but one gospel. Go through your convict settlements; go through your jails; and just see what you can do with a doctrine of salvation by good works. You will come home disappointed, however earnest may be your address. But go there, and tell of free grace and dying love, and pardon bought with blood, and eyes that stream with tears, confessions of sin, and cries for pardon, will tell you that you have not spoken in vain.~ C.H. Spurgeon
https://www.blueletterbible.org/Comm/spurgeon_charles/sermons/2210.cfm