2 Chronicles 22:1

1 Then the inhabitants of Jerusalem made Ahaziah his youngest son king in his place, for the raiders who came with the Arabians into the camp had killed all the older sons. So Ahaziah the son of Jehoram, king of Judah, reigned.

2 Chronicles 22:1 Meaning and Commentary

2 Chronicles 22:1

And the inhabitants of Jerusalem made Ahaziah his youngest
son king in his stead
He being the only surviving one of the sons of Jehoram, the same with Jehoahaz, ( 2 Chronicles 21:17 ) who was saved when the rest were taken captive and slain, by his mother Athaliah, and he made his escape, and that she also escaped is clear from ( 2 Chronicles 22:10 )

for the band of men that came with the Arabians to the camp;
that is, of the Philistines, ( 2 Chronicles 21:16 ) , which band seems to be a band or company of thieves and robbers, as the Septuagint, cruel and barbarous, as the action ascribed to them shows:

[for they] had slain all the eldest;
sons of Jehoram; the Philistines and Arabians only carried them away captives, but those slew them in cold blood:

so Ahaziah the son of Jehoram king of Judah reigned;
being declared his successor by the inhabitants of Jerusalem.

2 Chronicles 22:1 In-Context

1 Then the inhabitants of Jerusalem made Ahaziah his youngest son king in his place, for the raiders who came with the Arabians into the camp had killed all the older sons. So Ahaziah the son of Jehoram, king of Judah, reigned.
2 Ahaziah was forty-two years old when he became king, and he reigned one year in Jerusalem. His mother's name was Athaliah the granddaughter of Omri.
3 He also walked in the ways of the house of Ahab, for his mother advised him to do wickedly.
4 Therefore he did evil in the sight of the Lord, like the house of Ahab; for they were his counselors after the death of his father, to his destruction.
5 He also followed their advice, and went with Jehoram the son of Ahab king of Israel to war against Hazael king of Syria at Ramoth Gilead; and the Syrians wounded Joram.
Scripture taken from the New King James Version. Copyright © 1982 by Thomas Nelson, Inc. Used by permission. All rights reserved.