1 Kings 12:24

24 ‘This is what the LORD says: Do not go up to fight against your brothers, the Israelites. Go home, every one of you, for this is my doing.’ ” So they obeyed the word of the LORD and went home again, as the LORD had ordered.

Read 1 Kings 12:24 Using Other Translations

Thus saith the LORD, Ye shall not go up, nor fight against your brethren the children of Israel: return every man to his house; for this thing is from me. They hearkened therefore to the word of the LORD, and returned to depart, according to the word of the LORD.
'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.
‘This is what the LORD says: Do not fight against your relatives, the Israelites. Go back home, for what has happened is my doing!’” So they obeyed the message of the LORD and went home, as the LORD had commanded.

What does 1 Kings 12:24 mean?

John Gill's Exposition of the Bible
1 Kings 12:24

Thus saith the Lord
A common preface the prophets used when they spoke in the name of the Lord:

ye shall not go up, nor fight against your brethren the children of
Israel;
and that because they were their brethren; though that is not the only reason, another follows:

return every man to his house, for this thing is from me;
it was according to the will of God, as Josephus rightly says F15; it was by his ordination and appointment, though Jeroboam and the people sinned in the way and manner in which they brought it about; and therefore to fight against Israel, in order to regain the kingdom, would be fighting against God, and so to no purpose:

they hearkened therefore to the word of the Lord, and returned to
depart according to the word of the Lord;
they knew Shemaiah was a prophet of the Lord, and they believed the message he brought came from him, and therefore hearkened and were obedient to it; and with the consent of Rehoboam were disbanded, and returned to their habitations, being satisfied with, and submissive to, the will of God, both king and people.


FOOTNOTES:

F15 Ut supra. (Antiqu. l. 8. c. 8. sect. 3.)
California - Do Not Sell My Personal Information  California - CCPA Notice