Micah 6:8 says: He hath shewed thee, O man, what is good; and what doth the LORD require of thee, but to do justly, and to love mercy, and to walk humbly with thy God?
(KJV).
The verse appears in Micah 6, in a passage framed as the Lord's controversy with his people. Read it in context at Micah 6:8, or the full chapter at Micah 6.