Legalism has its origin in self-worship. If people are justified through their obedience to the law, then they must merit praise, honor, and glory. Legalism, in other words, means the glory goes to people rather than God.