Humanity is a funny term. The OT sets the conditions for Jesus to arrive, you can't ignore the OT. You guys keep telling us about "context" every single time but ignore the context how and why Jesus came to earth cause the usual "cherry picking of evidence" card has to be played.
Humanity is a term that has evolved over centuries, what is humanity to you? do you believe in objective morality? under what conditions can the commandments be broken? If the commandments can be broken under certain conditions are they divine laws at all? you can't start talking about humanity, when you are missing the whole context under which NT was supposed to be read. Sexual purity, slavery, rape, murder, genocide,human sacrifices, homophobia etc the bible is infested with these, is that humanity? or under certain conditions you will "approve" such things?
Maybe back in the Old Testament day God viewed us differently more like little foetuses; not yet developed. Hopefully the era of smiting is well and truly in the past but you never know . Fingers crossed
On the law stuff have a look at Thomas Aquinas and eternal law natural law and divine law etc.