But he practiced what the LORD considered to be evil by behaving detestably, as did the nations whom the LORD expelled in front of the Israelis.