Why is the law important if salvation is by grace?
Answered in 2 sources
The law reveals our sinfulness and need for grace, leading us to Christ.
The law serves a critical function within the plan of salvation by highlighting humanity's inability to attain righteousness before God. It acts as a schoolmaster, as stated in Galatians 3:24, guiding us to recognize our sin and the need for salvation through Jesus Christ. The law was given because of transgressions, making it clear that no one can be justified by the law alone (Galatians 2:16). Instead, the law points us to grace, making Christ's redemptive work all the more necessary. Once Christ came, the law's purpose was fulfilled, and believers are no longer under its condemnation but under grace.
Commentary