Solomon's apostasy, which refers to his turning away from worshipping God and instead worshipping false gods, had the consequence of the division of the Kingdom of Israel. This happened because God had promised to give the whole kingdom to Solomon's descendants if he followed God's commands and kept his covenant. But because of Solomon's disobedience, God decided to take away most of the kingdom from Solomon's descendants and give it to someone else.
This division happened after Solomon's death when his son, Rehoboam, became king. The people of Israel requested that Rehoboam lighten the heavy burden of taxes and labor that Solomon had imposed on them, but Rehoboam refused. This led to a rebellion by the northern tribes of Israel, who made Jeroboam their king and established the Kingdom of Israel in the north. The southern tribes remained loyal to Rehoboam and established the Kingdom of Judah in the south. Thus, the division of the kingdom was a direct consequence of Solomon's apostasy.