King James Version (KJV)
Mine anger was kindled against the shepherds, and I punished the goats: for the LORD of hosts hath visited his flock the house of Judah, and hath made them as his goodly horse in the battle. {punished: Heb. visited upon}
Modern English
My anger is kindled against the shepherds, and I will punish the male goats; For Yahweh of Armies has visited his flock, the house of Judah, and will make them as his majestic horse in the battle.
Hebrew
עַל־הָֽרֹעִים֙ חָרָ֣ה אַפִּ֔י וְעַל־הָעַתּוּדִ֖ים אֶפְק֑וֹד כִּֽי־פָקַד֩ יְהוָ֨ה צְבָא֤וֹת אֶת־עֶדְרוֹ֙ אֶת־בֵּ֣ית יְהוּדָ֔ה וְשָׂ֣ם אוֹתָ֔ם כְּס֥וּס הוֹד֖וֹ בַּמִּלְחָמָֽה׃
ʿal-haroʿiym ḥarah ʾapiy vʿal-haʿatvdiym ʾepqvod kiy-paqad yhvah ṣbaʾvot ʾet-ʿedrvo ʾet-beyt yhvdah vsham ʾvotam ksvs hvodvo bamilḥamah