The law leads to Christ. Read Galatians 3:19-22.
Why the Law then? It was added because of transgressions, having been ordained through angels by the agency of a mediator, until the seed would come to whom the promise had been made. Now a mediator is not for one party only; whereas God is only one. Is the Law then contrary to the promises of God? May it never be! For if a law had been given which was able to impart life, then righteousness would indeed have been based on law. But the Scripture has shut up everyone under sin, so that the promise by faith in Jesus Christ might be given to those who believe.
Galatians 3:19-22 NASB
The law reveals Christ. Through the law we understand who he is and all that he has done for us. If we didn’t have the law, we wouldn’t understand the sacrifice that Christ nade on our behalf.
Are we thankful for the law? It points us to Christ.