If there is found among you, within any of your gates which the LORD your God gives you, a man or woman who does that which is evil in the LORD your God’s sight in transgressing his covenant,
Deuteronomy 17:2 in context
Deuteronomy 17:1–5
You shall not sacrifice to the LORD your God an ox or a sheep in which is a defect or anything evil; for that is an abomination to the LORD your God.
If there is found among you, within any of your gates which the LORD your God gives you, a man or woman who does that which is evil in the LORD your God’s sight in transgressing his covenant,
and has gone and served other gods and worshiped them, or the sun, or the moon, or any of the stars of the sky, which I have not commanded,
and you are told, and you have heard of it, then you shall inquire diligently. Behold, if it is true, and the thing certain, that such abomination is done in Israel,
then you shall bring out that man or that woman who has done this evil thing to your gates, even that same man or woman; and you shall stone them to death with stones.
Continue with Deuteronomy 17
Read the complete chapter in World English Bible Updated.
Open Deuteronomy 17