2 Chronicles 22:1

1 The inhabitants of Jerusalem made his youngest son Ahaziah king as his successor; for the troops who came with the Arabs to the camp had killed all the older sons. So Ahaziah son of Jehoram reigned as king of Judah.

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 The inhabitants of Jerusalem made his youngest son Ahaziah king as his successor; for the troops who came with the Arabs to the camp had killed all the older sons. So Ahaziah son of Jehoram reigned as king of Judah.
2 Ahaziah was forty-two years old when he began to reign; he reigned one year in Jerusalem. His mother's name was Athaliah, a granddaughter of Omri.
3 He also walked in the ways of the house of Ahab, for his mother was his counselor in doing wickedly.
4 He did what was evil in the sight of the Lord, as the house of Ahab had done; for after the death of his father they were his counselors, to his ruin.
5 He even followed their advice, and went with Jehoram son of King Ahab of Israel to make war against King Hazael of Aram at Ramoth-gilead. The Arameans wounded Joram,
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.