Deuteronomy 13:5

13:5 As for that prophet or dreamer, he must be executed because he encouraged rebellion against the Lord your God who brought you from the land of Egypt, redeeming you from that place of slavery, and because he has tried to entice you from the way the Lord your God has commanded you to go. In this way you must purge out evil from within.

Deuteronomy 13:11

13:11 Thus all Israel will hear and be afraid; no longer will they continue to do evil like this among you.

Deuteronomy 19:19-20

19:19 you must do to him what he had intended to do to the accused. In this way you will purge evil from among you. 19:20 The rest of the people will hear and become afraid to keep doing such evil among you.

Deuteronomy 22:21

22:21 the men of her city must bring the young woman to the door of her father’s house and stone her to death, for she has done a disgraceful thing in Israel by behaving like a prostitute while living in her father’s house. In this way you will purge evil from among you.

Deuteronomy 22:24

22:24 you must bring the two of them to the gate of that city and stone them to death, the young woman because she did not cry out though in the city and the man because he violated his neighbor’s fiancĂ©e; in this way you will purge evil from among you.