King David expressed this idea in Psalm 51:16, where he says: "You do not delight in sacrifice, or I would bring it; you do not take pleasure in burnt offerings."
Similarly, in Psalm 40:6, he states: "Sacrifice and offering You did not desire, but my ears You have opened. Burnt offerings and sin offerings You did not require."
David emphasizes that God values a humble and repentant heart more than ritual sacrifices. His words reflect a deeper spiritual truth—that true devotion comes from sincerity and inner transformation rather than external rituals.