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.
BSB
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 themselves became worthless, going after the surrounding nations that the LORD had commanded them not to imitate.