They rejected His statutes and the covenant He had made with their fathers, as well as the decrees He had given them. They pursued worthless idols and became worthless themselves, going after the surrounding nations that the LORD had commanded them not to imitate.
KJV
And they rejected his statutes, and his covenant that he made with their fathers, and his testimonies which he testified against them; and they followed vanity, and became vain, and went after the heathen that [were] round about them, [concerning] whom the LORD had charged them, that they should not do like them.
ASV
And they rejected his statutes, and his covenant that he made with their fathers, and his testimonies which he testified unto them; and they followed vanity, and became vain, and went after the nations that were round about them, concerning whom Jehovah had charged them that they should not do like them.