Galatians 3:13 Christ has redeemed us from the curse of the law, having become a curse for us (for it is written, “Cursed is everyone who hangs on a tree")
The law demanded, and was successful in condemning all of humanity to death. All have sinned thus the wages of humanities sin is death. There was a zero path to life thru human means or deeds. BUT GOD! In His all loving grace & mercy, executed a plan He already had in place before the foundations of the earth, in that He would take upon Himself, the curse of all humanity. This was done for you and I to be given an opportunity to life. All of humanity hasnt been granted life but "opportunity" on this one stipulation, the path solely goes thru Jesus Christ. Only Jesus has redeemed us, who believe and trust in His finished work for us, upon Calvaries cross. He see's you & I as of value to purchase us back from the slave master of sin & death. Even though that was at the cost of Gods Son and a worldwide public spectacle of a shame execution. You are of great value in the LORDS eyes in order to spill His blood for you.