They feared the Lord and served their own gods according to the custom of the nations from among whom they had been carried away into exile.