21 When Rehoboam arrived in Jerusalem, 12:21–24 2Ch 11:1–4 he mobilized one hundred eighty thousand fit young soldiers from the entire house of Judah and the tribe of Benjamin 12:21 2Sm 19:17 to fight against the house of Israel to restore the kingdom to Rehoboam son of Solomon. 22 But the word of God came to Shemaiah, 12:22 2Ch 12:5,7 the man of God: 23 "Say to Rehoboam son of Solomon, king of Judah, to the whole house of Judah and Benjamin, and to the rest of the people, 24 ‘This is what the Lord says: You are not to march up and fight against your brothers, the Israelites. Each of you return home, for this situation is from me.’ " 12:24 1Kg 12:15
So they listened to the word of the Lord and went back according to the word of the Lord.