Berean Standard Bible (BSB)
He banished the male shrine prostitutes from the land and removed all the idols that his fathers had made.
World English Bible (WEB)
He put away the sodomites out of the land, and removed all the idols that his fathers had made.
Strong's King James
And he took away{H5674}{(H8686)} the sodomites{H6945} out of the land{H776}, and removed{H5493}{(H8686)} all the idols{H1544} that his fathers{H1} had made{H6213}{(H8804)}.
The F.O.G *
The F.O.G Message *
Young's Literal Translation
and removeth the whoremongers out of the land, and turneth aside all the idols that his fathers made;