Romans 7:1-4 Holman Christian Standard Bible (HCSB)
An Illustration from Marriage
7 Since I am speaking to those who understand law, brothers, are you unaware that the law has authority over someone as long as he lives? 2 For example, a married woman is legally bound to her husband while he lives. But if her husband dies, she is released from the law regarding the husband. 3 So then, if she gives herself to another man while her husband is living, she will be called an adulteress. But if her husband dies, she is free from that law. Then, if she gives herself to another man, she is not an adulteress.
4 Therefore, my brothers, you also were put to death in relation to the law through the crucified body of the Messiah, so that you may belong to another—to Him who was raised from the dead—that we may bear fruit for God.
Galatians 3:24 Holman Christian Standard Bible (HCSB)
24 The law, then, was our guardian[a] until Christ, so that we could be justified by faith.