Now it came to pass when all Israel heard that Jeroboam had come back, they sent for him and called him to the congregation, and made him king over all Israel. There was none who followed the house of David, but the tribe of Judah only.
21 And when Rehoboam came to Jerusalem, he assembled all the house of Judah with the tribe of Benjamin, one hundred and eighty thousand chosen men who were warriors, to fight against the house of Israel, that he might restore the kingdom to Rehoboam the son of Solomon. 22 But the word of God came to Shemaiah the man of God, saying, 23 “Speak to Rehoboam the son of Solomon, king of Judah, to all the house of Judah and Benjamin, and to the rest of the people, saying, 24 ‘Thus says the Lord: “You shall not go up nor fight against your brethren the children of Israel. Let every man return to his house, for this thing is from Me.”’” Therefore they obeyed the word of the Lord, and turned back, according to the word of the Lord.
25 Then Jeroboam built Shechem in the mountains of Ephraim, and dwelt there. Also he went out from there and built Penuel. 26 And Jeroboam said in his heart, “Now the kingdom may return to the house of David: 27 If these people go up to offer sacrifices in the house of the Lord at Jerusalem, then the heart of this people will turn back to their lord, Rehoboam king of Judah, and they will kill me and go back to Rehoboam king of Judah.”
28 Therefore the king asked advice, made two calves of gold, and said to the people, “It is too much for you to go up to Jerusalem. Here are your gods, O Israel, which brought you up from the land of Egypt!” 29 And he set up one in Bethel, and the other he put in Dan. 30 Now this thing became a sin, for the people went to worship before the one as far as Dan. 31 He made shrines on the high places, and made priests from every class of people, who were not of the sons of Levi.
32 Jeroboam ordained a feast on the fifteenth day of the eighth month, like the feast that was in Judah, and offered sacrifices on the altar. So he did at Bethel, sacrificing to the calves that he had made. And at Bethel he installed the priests of the high places which he had made. 33 So he made offerings on the altar which he had made at Bethel on the fifteenth day of the eighth month, in the month which he had devised in his own heart. And he ordained a feast for the children of Israel, and offered sacrifices on the altar and burned incense.
-1 Kings 12:20-33