1 Kings 12:16-33 ESV
And when all Israel saw that the king did not listen to them, the people answered the king, “What portion do we have in David? We have no inheritance in the son of Jesse. To your tents, O Israel! Look now to your own house, David.” So Israel went to their tents. But Rehoboam reigned over the people of Israel who lived in the cities of Judah. Then King Rehoboam sent Adoram, who was taskmaster over the forced labor, and all Israel stoned him to death with stones. And King Rehoboam hurried to mount his chariot to flee to Jerusalem. So Israel has been in rebellion against the house of David to this day. And when all Israel heard that Jeroboam had returned, they sent and called him to the assembly and made him king over all Israel. There was none that followed the house of David but the tribe of Judah only.
When Rehoboam came to Jerusalem, he assembled all the house of Judah and the tribe of Benjamin, 180,000 chosen warriors, to fight against the house of Israel, to restore the kingdom to Rehoboam the son of Solomon. But the word of God came to Shemaiah the man of God: “Say to Rehoboam the son of Solomon, king of Judah, and to all the house of Judah and Benjamin, and to the rest of the people, ‘Thus says the LORD, You shall not go up or fight against your relatives the people of Israel. Every man return to his home, for this thing is from me.’” So they listened to the word of the LORD and went home again, according to the word of the LORD.
Then Jeroboam built Shechem in the hill country of Ephraim and lived there. And he went out from there and built Penuel. And Jeroboam said in his heart, “Now the kingdom will turn back to the house of David. If this people go up to offer sacrifices in the temple of the LORD at Jerusalem, then the heart of this people will turn again to their lord, to Rehoboam king of Judah, and they will kill me and return to Rehoboam king of Judah.” So the king took counsel and made two calves of gold. And he said to the people, “You have gone up to Jerusalem long enough. Behold your gods, O Israel, who brought you up out of the land of Egypt.” And he set one in Bethel, and the other he put in Dan. Then this thing became a sin, for the people went as far as Dan to be before one. He also made temples on high places and appointed priests from among all the people, who were not of the Levites. And Jeroboam appointed a feast on the fifteenth day of the eighth month like the feast that was in Judah, and he offered sacrifices on the altar. So he did in Bethel, sacrificing to the calves that he made. And he placed in Bethel the priests of the high places that he had made. He went up to the altar that he had made in Bethel on the fifteenth day in the eighth month, in the month that he had devised from his own heart. And he instituted a feast for the people of Israel and went up to the altar to make offerings.
ESV: English Standard Version 2016