Being obedient to Christ is not legalism. Keeping Commandments is not legalism. Focusing on the rules over relationships is not legalism.
PLACING CONDITIONS ON ETERNAL LIFE OTHER THAN SIMPLE FAITH AND TRUST IN CHRIST IS LEGALISM.
Legalism is a curse upon professed followers of Christ who are more concerned with their own righteousness than with admitting their sins and pleading the grace of God.
The devil is deceptive and knows how to slip in the back door of the church. Few legalists will ever tell you that you have to keep the law in order to be saved. Instead, they are quite adamant that one cannot be saved without keeping the law. This type of double talk is present in every Christian denomination. We need to recover the genuine teachings of the Apostles that state we are saved apart from keeping the law (Romans 3:28).
Christians do not keep the law in order to be saved but strive to keep the law because they are saved. Their motivation is not fear of damnation but love for the sacrifice Christ made on the cross to grant assurance of eternal life.