For whoever shall keep the whole law, and yet stumble in one point, he is guilty of all. James 2:10
We are obliged to keep the whole law. And Jesus said the whole law is summed up in the two greatest commandments, namely, ‘Love the LORD your God with all your heart, soul, mind and strength’ and ‘Love your neighbor as yourself’.
Apart from God’s grace, there is no one who can do this ‘There is none righteous, no not one’. And so any hope we have of salvation cannot be based on our own manufactured piety, nor can it be based on good deeds done for our neighbor.