They worshiped the Lord, but they also served their own gods in accordance with the customs of the nations from which they had been brought.