Matthew 12:7

From BibleVerseWiki

But if ye had known what this meaneth, I will have mercy, and not sacrifice, ye would not have condemned the guiltless.