Legalism is strict adherence to God's commands.
I had hoped the OP was about "Legalism" in the sense of what the Pharisees did, something that I just don't see happen very often at all around here, if at all. But whatever the case, in the end, even when Jesus spoke to the Pharisees about the junk they were doing, the true legalism, he told the people they should still follow the rules/do as they say. Look for yourselves.
Matthew 23:1-4 ESV / 165 helpful votes
Then Jesus said to the crowds and to his disciples, “The scribes and the Pharisees sit on Moses' seat, so practice and observe whatever they tell you—but not what they do. For they preach, but do not practice. They tie up heavy burdens, hard to bear, and lay them on people's shoulders, but they themselves are not willing to move them with their finger.
IOW they acted badly, they didn't practice what they preached, or, they did not DO what they were supposed to DO....meaning, we have to "DO".
Yet somewhere along the line they started using the term "legalism" to mean we don't have to be concerned about the rules. Why? Same as I always say, because people would rather not follow the rules so they took the original term "Legalism" and made it appear to mean something other than what it does as a means to confuse....not at all a good thing.
Hopefully some can now see, right there in the original "legalism" scripture exactly what it really means. The following is just someones definition but I like it, as it pretty well sums up the facts, but we have to see all the facts, not just the ones we choose to see.
Legalism refers to any doctrine which states salvation comes strictly from adherence to the law. It can be thought of as a works-based religion. Groups in the New Testament said to be falling into this category include the Pharisees, Sadducees, Scribes, Judaizers, and Nicolaitans.
Legalism (theology) - Wikipedia
Search for: Pharisees legalism
It does not come strictly from adherence to the rules...just partially.
People often use things like the following scripture to make the point doing good has nothing to do with salvation:
For by grace you have been saved through faith. And this is not your own doing; it is the gift of God, not a result of works, so that no one may boast.
So...what happens when one loses that faith...where in the bible does it say that cannot happen? As a matter of fact, the bible states one can and does "fall away"...look it up.
And for the umpteenth time there is this scripture, spoken by Jesus himself, that shows beyond any doubt, doing good/not doing bad, is a must for salvation:
John 5:28-29
“Do not be amazed at this, for a time is coming when all who are in their graves will hear his voice and come out—those who have done what is good will rise to live, and those who have done what is evil will rise to be condemned.
How can that be more simply put? Those "who have done" meaning an action. It is a must for salvation to "DO", and to DO evil WILL get us just what the Bible/Jesus says it will, right there.