By the time Rehoboam had secured his kingdom and was strong again, he, and all Israel with him, had virtually abandoned God and his ways.