1 Kings 11:30 And Ahijah took hold of the new cloak he was wearing, tore it into twelve pieces, 31and said to Jeroboam, “Take ten pieces for yourself, for this is what the LORD, the God of Israel, says: ‘Behold, I will tear the kingdom out of the hand of Solomon, and I will give you ten tribes. 32But one tribe will remain for the sake of My servant David and for the sake of Jerusalem, the city I have chosen out of all the tribes of Israel.
Jerusalem is NOT given to Jeroboam.
38 If you listen to all that I command you, walk in My ways, and do what is right in My sight in order to keep My statutes and commandments as My servant David did, then I will be with you. I will build you a lasting dynasty just as I built for David, and I will give Israel to you.
How did God expect Jeroboam to obey all His commandments without the territorial control of Jerusalem?
Deuteronomy 16:16 Three times a year all your men must appear before the LORD your God at the place he will choose: at the Festival of Unleavened Bread, the Festival of Weeks and the Festival of Tabernacles. No one should appear before the LORD empty-handed: