ESV: He put away the male cult prostitutes out of the land and removed all the idols that his fathers had made.
NIV: He expelled the male shrine prostitutes from the land and got rid of all the idols his ancestors had made.
NASB: He also removed the male cult prostitutes from the land and removed all the idols which his fathers had made.
CSB: He banished the male cult prostitutes from the land and removed all of the idols that his fathers had made.
NLT: He banished the male and female shrine prostitutes from the land and got rid of all the idols his ancestors had made.
KJV: And he took away the sodomites out of the land, and removed all the idols that his fathers had made.
NKJV: And he banished the perverted persons from the land, and removed all the idols that his fathers had made.