Legalism is motivated by keeping appearances, avoiding persecution, and boasting. It is cured through delight in Christ.