It's not that what is in the scriptures is different than what God desires - it's that to have a proper understanding of what God desires you need to read the whole of scripture vs picking out isolated passages.
As another example, take all the sacrifices in the Law. Do you imagine that because God commanded such sacrifices that therefore he desires them? No, he does not.
Isaiah 1:10-20
Hear the word of the Lord,
you rulers of Sodom;
listen to the instruction of our God,
you people of Gomorrah!
11 “The multitude of your sacrifices—
what are they to me?” says the Lord.
“I have more than enough of burnt offerings,
of rams and the fat of fattened animals;
I have no pleasure
in the blood of bulls and lambs and goats.
12 When you come to appear before me,
who has asked this of you,
this trampling of my courts?
13 Stop bringing meaningless offerings!
Your incense is detestable to me.
New Moons, Sabbaths and convocations—
I cannot bear your worthless assemblies.
14 Your New Moon feasts and your appointed festivals
I hate with all my being.
They have become a burden to me;
I am weary of bearing them.
15 When you spread out your hands in prayer,
I hide my eyes from you;
even when you offer many prayers,
I am not listening.
Your hands are full of blood!
16 Wash and make yourselves clean.
Take your evil deeds out of my sight;
stop doing wrong.
17 Learn to do right; seek justice.
Defend the oppressed.a]">[a]
Take up the cause of the fatherless;
plead the case of the widow.
18 “Come now, let us settle the matter,”
says the Lord.
“Though your sins are like scarlet,
they shall be as white as snow;
though they are red as crimson,
they shall be like wool.
19 If you are willing and obedient,
you will eat the good things of the land;
20 but if you resist and rebel,
you will be devoured by the sword.”
For the mouth of the Lord has spoken.
There is nothing hard about comprehending what is right and good. We are fully capable of fulfilling the Law. We sin because we ourselves choose to sin. We choose to act selfishly, we choose to be greedy, we choose to rape and to pillage, etc. We are just as capable of doing what is right.
Deuteronomy 30:11-20
Now what I am commanding you today is not too difficult for you or beyond your reach. 12 It is not up in heaven, so that you have to ask, “Who will ascend into heaven to get it and proclaim it to us so we may obey it?” 13 Nor is it beyond the sea, so that you have to ask, “Who will cross the sea to get it and proclaim it to us so we may obey it?” 14 No, the word is very near you; it is in your mouth and in your heart so you may obey it. 15 See, I set before you today life and prosperity, death and destruction. 16 For I command you today to love the Lord your God, to walk in obedience to him, and to keep his commands, decrees and laws; then you will live and increase, and the Lord your God will bless you in the land you are entering to possess. 17 But if your heart turns away and you are not obedient, and if you are drawn away to bow down to other gods and worship them, 18 I declare to you this day that you will certainly be destroyed. You will not live long in the land you are crossing the Jordan to enter and possess. 19 This day I call the heavens and the earth as witnesses against you that I have set before you life and death, blessings and curses. Now choose life, so that you and your children may live 20 and that you may love the Lord your God, listen to his voice, and hold fast to him. For the Lord is your life, and he will give you many years in the land he swore to give to your fathers, Abraham, Isaac and Jacob.