וַיַּעֲל֤וּ בִֽיהוּדָה֙ וַיִּבְקָע֔וּהָ וַיִּשְׁבּ֗וּ אֵ֤ת כָּל־הָרְכוּשׁ֙ הַנִּמְצָ֣א לְבֵית־הַמֶּ֔לֶךְ וְגַם־בָּנָ֖יו וְנָשָׁ֑יו וְלֹ֤א נִשְׁאַר־לוֹ֙ בֵּ֔ן כִּ֥י אִם־יְהוֹאָחָ֖ז קְטֹ֥ן בָּנָֽיו׃
und sie kamen gegen Juda und brachen darin ein und trugen die ganze Substanz weg, die im König gefunden wurde's Haus und auch seine Söhne und seine Frauen; so dass es nie einen Sohn gab, der ihn verlassen hatte, außer Joahas, dem jüngsten seiner Söhne.
Rashi
and the sons of Ahaziah’s brothers He does not mention Ahaziah’s brothers because they were slain in the days of Joram their father, as it is written (above 21:17): “And they marched upon Judah and split it, etc., and no son was left to him except Jehoahaz, the youngest of his sons.”