in Christian theology, legalism (or nomism) is a pejorative term applied to the idea that "by doing good works or by obeying the law, a person earns and merits salvation."
Step-by-step explanation:
so legalism adresses a person's behaviour because it sets certain rules etc for the person to follow so it addresses a person's behaviour by incouraging positive actions