Deuteronomy 17:2

When there will have been found among you, within one of your gates which the Lord your God will give to you, a man or a woman who is doing evil in the sight of the Lord your God, and who is transgressing his covenant

Other versions

King James Version

If there be found among you, within any of thy gates which the LORD thy God giveth thee, man or woman, that hath wrought wickedness in the sight of the LORD thy God, in transgressing his covenant,

English Standard Version

"If there is found among you, within any of your towns that the LORD your God is giving you, a man or woman who does what is evil in the sight of the LORD your God, in transgressing his covenant,

New International Version

If a man or woman living among you in one of the towns the LORD gives you is found doing evil in the eyes of the LORD your God in violation of his covenant,