Then all the men of his town are to stone him to death. You must purge the evil from among you. All Israel will hear of it and be afraid.
NIV
Then all the men of his city shall stone him to death; so you shall cleanse out the evil from your midst, and all Israel shall hear and [reverently] fear.
AMP
And all the men of his city shall stone him with stones, that he die: so shalt thou put evil away from among you; and all Israel shall hear, and fear.
KJV
Then hear from heaven, your dwelling place. Do whatever the foreigner asks of you, so that all the peoples of the earth may know your name and fear you, as do your own people Israel, and may know that this house I have built bears your Name.
NIV
Hear from heaven, from Your dwelling place, and do all for which the stranger calls to You, that all peoples of the earth may know Your name and fear You [reverently and worshipfully], as do Your people Israel, and may know that this house which I have built is called by Your Name.
AMP
Then hear thou from the heavens, even from thy dwelling place, and do according to all that the stranger calleth to thee for; that all people of the earth may know thy name, and fear thee, as doth thy people Israel, and may know that this house which I have built is called by thy name.
KJV