You are quoting a nonbiblical text
1 Samuel 15:22 And Samuel said, Hath the Lord as great delight in burnt offerings and sacrifices, as in obeying the voice of the Lord?
Behold, to obey is better than sacrifice, and to hearken than the fat of rams.
Malachi 2:8 But ye are departed out of the way; ye have caused many to stumble at the law;
ye have corrupted the covenant of Levi, saith the LORD of hosts.
Psalms 51:16 For
thou desirest not sacrifice; else would I give it: thou delightest not in burnt offering.
17 The sacrifices of God are a broken spirit: a broken and a contrite heart, O God, thou wilt not despise.
Hosea 6:6 For
I desired mercy, and not sacrifice; and
the knowledge of God more than burnt offerings.
Matthew 12:7 But if ye had known what this meaneth,
I will have mercy, and not sacrifice, ye would not have condemned the guiltless.
Isaiah 1:11 To what purpose is the multitude of your sacrifices unto me?
saith the Lord: I am full of the burnt offerings of rams, and the fat of fed beasts; and
I delight not in the blood of bullocks, or of lambs, or of he goats.
Jeremiah 7:22 For
I spake not unto your fathers,
nor commanded them in the day that I brought them out of the land of Egypt, concerning
burnt offerings or sacrifices:
Ecclesiastes 5:1 Keep thy foot when thou goest to the house of God, and be more ready to hear, than to give the
sacrifice of fools: for they consider not that
they do evil.
Proverbs 6:16 These six things doth
the Lord hate: yea, seven are an abomination unto him:
17 A proud look, a lying tongue, and
hands that shed innocent blood,
Isaiah 66:3 He that killeth an ox is as if he slew a man;
he that sacrificeth a lamb, as if he cut off a dog's neck; he that offereth an oblation, as if he offered swine's blood; he that burneth incense, as if he blessed an idol. Yea, they have chosen their own ways, and their soul delighteth in their
abominations.
Jeremiah 7:5 For if ye throughly amend your ways and your doings; if ye throughly execute judgment between a man and his neighbour;
6 If ye oppress not the stranger, the fatherless, and the widow, and
shed not innocent blood in this place, neither walk after other gods to your hurt:
7 Then will I cause you to dwell in this place, in the land that I gave to your fathers, for ever and ever.