Proverbs 16:8 in the King James Version
Better is a little with righteousness than great revenues without right.
Context
7 When a man’s ways please the LORD, he makes even his enemies to be at peace with him.
8 Better is a little with righteousness, than great revenues with injustice.
9 A man’s heart plans his course, but the LORD directs his steps.