They were worshiping the LORD and at the same time serving their own gods in accordance with the practices of the nations from which they had been deported. 