21 When Rehoboam came to Jerusalem, he got together all the men of Judah and the tribe of Benjamin, a hundred and eighty thousand of his best fighting-men, to make war against Israel and get the kingdom back for Rehoboam, the son of Solomon. 22 But the word of God came to Shemaiah, the man of God, saying, 23 Say to Rehoboam, the son of Solomon, king of Judah, and to all the men of Judah and Benjamin and the rest of the people: 24 The Lord has said, You are not to go to war against your brothers, the children of Israel; go back, every man to his house, because this thing is my purpose. So they gave ear to the word of the Lord, and went back, as the Lord had said.

Matthew Henry's Commentary on 1 Kings 12:21-24

Commentary on 1 Kings 12:16-24

(Read 1 Kings 12:16-24)

The people speak unbecomingly of David. How soon are good men, and their good services to the public, forgotten ! These considerations should reconcile us to our losses and troubles, that God is the Author of them, and our brethren the instruments: let us not meditate revenge. Rehoboam and his people hearkened to the word of the Lord. When we know God's mind, we must submit, how much soever it crosses our own mind. If we secure the favour of God, not all the universe can hurt us.