Yes, but don't confuse turning away from sin with 'works'.
Salvation based on the merits of our performance is works salvation.
'Salvation by works' doesn't actually have a Biblical definition, but most modern Christians understand it to mean 'keeping Mosaic law'.
Justification by the law is salvation by works and the moral aspect of the law includes good works in general. (Matthew 22:37-40)
Nobody in this thread is arguing for living under Mosaic law since Christians are under grace, and keeping God's commandments should not be confused with living under Mosaic law either.
When it comes to the moral aspect of the law, you cannot dissect good works from the law, so the not saved by "these" works (works of the law) but saved by "those" works (good works) argument is bogus.
In James 2:15-16, the example of a "work" that James gives is: "If a brother or sister is naked and destitute of daily food, and one of you says to them, "Depart in peace, be warmed and filled," but you do not give them the things which are needed for the body, what does it profit?" To give a brother or sister these things needed for the body would certainly be a "good work" yet to neglect such a brother or sister and not give them the things needed for the body is to
break the second great commandment "love your neighbor as yourself" (Matthew 22:39)
as found written in the law of Moses (Leviticus 19:18).
In Matthew 22:37-40, we read: Jesus said to him, 'You shall love the Lord your God with all your heart, with all your soul, and with all your mind.' This is the first and great commandment. And the second is like it: 'You shall love your neighbor as yourself.'
On these two commandments hang all the Law and the Prophets. Please tell me, which good works could a Christian accomplish which are "completely detached" from these two great commandments which are found in the law of Moses? (Deuteronomy 6:5; Leviticus 19:18). Are there any good works that Christians accomplish which fall outside of loving God and our neighbor as ourself?
Put it like this: If I'm wrong, then that would imply that Christians can behave as they wish!
Nobody is arguing for a license to sin. Typical straw man argument.
Do you not believe that Christians should do their best to stop rebelling against God?
Of course we should strive to do our best to serve the Lord and abstain from sinful behavior, but our best efforts are not good enough to merit eternal life.
Hebrews 10:26
"Dear friends, if we deliberately continue sinning after we have received knowledge of the truth, there is no longer any sacrifice that will cover these sins".
In regards to Hebrews 10:26, To "sin willfully" (deliberately continue sinning) in the Greek carries the idea of deliberate intention that is habitual, which stems from rejecting Christ deliberately. This is CONTINUOUS ACTION - A MATTER OF PRACTICE. Now we don't walk along our daily life and "accidentally" fall into a pit called sin. We exercise our will but, the use of the participle clearly shows a continuous action that is a matter of practice. The
unrighteous practice sin (1 Corinthians 6:9-10; Galatians 5:19-21);
not the righteous, who are born of God (1 Corinthians 6:11; 1 John 3:9).
CONTEXT. The
unrighteous draw back to perdition, but
the righteous believe to the saving of the soul. (Hebrews 10:39)