“legalistic” does not mean being obedient or teaching others to be obedient to God’s commands
we’re supposed to do that
“legalistic” is believing that your works save you, which is to deny that God’s grace, given through Jesus’ death + resurrection, saves you