After Rehoboam was in complete control of his kingdom, he and all the other people in Judah stopped obeying the laws of Yahweh.
Read & study T4T 12:1And it came to pass, when the kingdom of Rehoboam was established, and he was strong, that he forsook the law of Jehovah, and all Israel with him.
Read & study ASV 12:1