I've been hearing things like, "judge not", "you don't have to do anything for salvation", etc., a lot, and I hope beyond hope that no one in my sphere of influence will fall for the lie that we shouldn't "do anything" in regard to salvation.
The people who spout the word "legalism" as an argument against works are simply looking for an excuse to do no works and are bringing condemnation down on their own head.
Acts 26:19 Whereupon, O king Agrippa, I was not disobedient unto the heavenly vision: 20 But shewed first unto them of Damascus, and at Jerusalem, and throughout all the coasts of Judaea, and then to the Gentiles, that they should repent and turn to God, and do works meet for repentance.
Faith without works is dead, as James tells us.
Luke 6:46 And why call ye me, Lord, Lord, and do not the things which I say?
John 14:15 If ye love me, keep my commandments.
1 John 2:3 And hereby we do know that we know him, if we keep his commandments. 4 He that saith, I know him, and keepeth not his commandments, is a liar, and the truth is not in him.
Without obedience there is no salvation.
Salvation is not by works, it's by faith, and by the grace of our Lord Jesus Christ in that He gave Himself as the required sacrifice for our sins.
But, without works, there is no salvation. Works are because of salvation, in part by obedience to the gospel and obedience to Christ's teachings and instruction.
James 2:26 For as the body without the spirit is dead, so faith without works is dead also.
If you can sin freely and feel good about it, you're NOT saved... Heb 12:8 But if ye be without chastisement, whereof all are partakers, then are ye bastards , and not sons.
More info here: How should a Christian live his or her life?