Jer. 31:33 But this is the covenant that I will make with the house of Israel after those days, says the Lord: I will put my law within them, and I will write it on their hearts; and I will be their God, and they shall be my people.
Jer. 31:34 No longer shall they teach one another, or say to each other, “Know the Lord,” for they shall all know me, from the least of them to the greatest, says the Lord; for I will forgive their iniquity, and remember their sin no more.
Hos. 6:6 For I desire steadfast love and not sacrifice, the knowledge of God rather than burnt offerings.
“Hosea was not condemning the practice of sacrifice itself, nor were any of these prophets. If we were to believe that, we would have to conclude that Isaiah intended to discourage the practice of prayer (Isa. 1:14,15). They did, however, claim that deeds of injustice vitiate both sacrifice and prayer. Men may not drown the cries of the oppressed with the noise of hymns, nor buy off the Lord with increased offerings. The prophets disparaged the cult (sacrifice) when it became a substitute for righteousness.
Abraham Heschel, The Prophets