Romans 2:22 in the King James Version
Thou that sayest a man should not commit adultery, dost thou commit adultery? thou that abhorrest idols, dost thou commit sacrilege?
Context
21 You therefore who teach another, don’t you teach yourself? You who preach that a man shouldn’t steal, do you steal?
22 You who say a man shouldn’t commit adultery, do you commit adultery? You who abhor idols, do you rob temples?
23 You who glory in the law, do you dishonor God by disobeying the law?