Proverbs 21:3

To do mercy and judgment is more pleasing to the Lord than sacrifices

Other versions

King James Version

To do justice and judgment is more acceptable to the LORD than sacrifice.

English Standard Version

To do righteousness and justice is more acceptable to the LORD than sacrifice.

New International Version

To do what is right and just is more acceptable to the LORD than sacrifice.