Verse 3: The sons of (Gen. 38:3; 46:12; Num 26:19) Judah; Er, and Onan, and Shelah: which three were born unto him of the daughter of (Gen. 38:2) Shua the Canaanitess. And (Gen. 38:7) Er, the firstborn of Judah, was evil in the sight of the LORD; and he slew him.
[The sons of Judah] From Judah himself, divinely taken into the principal part of the right of primogeniture, does he begin (Malvenda out of Junius), because of the Royal succession, and the origin of the Christ from him (Malvenda out of Junius, Mariana).
He puts Judah first, because the best part of the right of the first-born, to wit, the dominion, was conferred upon him, Genesis 49:8, and because the Messiah was to come out of his loins.
[The daughter of Shua, etc.] This Shua was the father of the wife of Judah (Vatablus).
Verse 4: And (Gen. 38:29, 30; Matt. 1:3) Tamar his daughter in law bare him Pharez and Zerah. All the sons of Judah were five.
Verse 5: The sons of (Gen. 46:12; Ruth 4:18) Pharez; Hezron, and Hamul.
[Also the sons of Zerah; Zimri, and Ethan, etc.] Zimri was properly the son of Zerah: now, those following were his posterity, but not immediately born of him, for they are called the sons of Mahol, 1 Kings 4:31 (Junius). Unless perhaps Mahol is Zerah himself, a man with two names (Malvenda).
And the sons of Zerah, etc.: If these be the same who are mentioned as the sons of Mahol, 1 Kings 4:31, either the same man had two names, Zerah and Mahol, as was usual among the Hebrews; or one of these was their immediate father, and the other their grandfather.
[Dara] Hebrew: דָּרַע/Dara; who is דַּרְדַּע/Darda, 1 Kings 4:31 (Malvenda).
Verse 7: And the sons of (see 1 Chron 4:1) Carmi; Achar (or, Achan), the troubler of Israel, who transgressed in the thing (Josh. 6:18; 7:1) accursed.
[The sons of Carmi; Achar, etc.] Whither here are the sons of Carmi? Namely, out of Joshua 7:1, Carmi was the son of Zimri (as it is here written, but Zabdi in Joshua), the grandson of Zerah, the great-grandson of Judah (Mariana). [And so some translate it in this way:] And the sons of Zimri, Carmi; the grandson, Achar, etc. (Junius and Tremellius, Piscator). Moreover, Achan is here called Achar by allusion, or by paronomasia, that is, a troubler, because he troubled the people (Junius, Piscator, Mariana).
Carmi is here mentioned, because he was the son of Zimri, who is also called Zabdi, Joshua 7:1. Achar; called Achan, Joshua 7:1, and here Achar, with a little variation for greater significancy; for Achar signifies a troubler.
[And he sinned, etc., אֲשֶׁ֥ר מָעַ֖ל בַּחֵֽרֶם׃] Who transgressed, etc. (Pagnine, Montanus); when he transgressed, etc. (Tigurinus); transgressing, etc. (Munster).
Verse 8: And the sons of Ethan; Azariah.
[And Ram, and Chelubai] Who is Aram, Ruth 4:19; Matthew 1:3; and Caleb, 1 Chronicles 2:18 (Junius, Malvenda). It is common among the Hebrews either to clip or to change some part of proper names (Tirinus).
Verse 10: And Ram (Ruth 4:19, 20; Matt. 1:4) begat Amminadab; and Amminadab begat Nahshon, (Num. 1:7; 2:3) prince of the children of Judah…
Verse 12: And Boaz begat Obed, and Obed begat Jesse…
 Hebrew: בְּנֵ֣י יְהוּדָ֗ה עֵ֤ר וְאוֹנָן֙ וְשֵׁלָ֔ה שְׁלוֹשָׁה֙ נ֣וֹלַד ל֔וֹ מִבַּת־שׁ֖וּעַ הַֽכְּנַעֲנִ֑ית וַיְהִ֞י עֵ֣ר׀ בְּכ֣וֹר יְהוּדָ֗ה רַ֛ע בְּעֵינֵ֥י יְהוָ֖ה וַיְמִיתֵֽהוּ׃  Hebrew: וְתָמָר֙ כַּלָּת֔וֹ יָ֥לְדָה לּ֖וֹ אֶת־פֶּ֣רֶץ וְאֶת־זָ֑רַח כָּל־בְּנֵ֥י יְהוּדָ֖ה חֲמִשָּֽׁה׃  Hebrew: בְּנֵי־פֶ֖רֶץ חֶצְר֥וֹן וְחָמֽוּל׃  Hebrew: וּבְנֵ֣י זֶ֗רַח זִ֠מְרִי וְאֵיתָ֧ן וְהֵימָ֛ן וְכַלְכֹּ֥ל וָדָ֖רַע כֻּלָּ֥ם חֲמִשָּֽׁה׃  Joshua 7:1: “But the children of Israel committed a trespass in the accursed thing: for Achan, the son of Carmi, the son of Zabdi (זַבְדִּי), the son of Zerah, of the tribe of Judah, took of the accursed thing: and the anger of the Lord was kindled against the children of Israel.”  1 Kings 4:31: “For he was wiser than all men; than Ethan the Ezrahite, and Heman, and Chalcol, and Darda (וְדַרְדַּע), the sons of Mahol: and his fame was in all nations round about.”  Hebrew: וּבְנֵ֖י כַּרְמִ֑י עָכָר֙ עוֹכֵ֣ר יִשְׂרָאֵ֔ל אֲשֶׁ֥ר מָעַ֖ל בַּחֵֽרֶם׃  That is, a play on words.  1 Chronicles 2:7: “And the sons of Carmi; Achar, the troubler of Israelעָכָר֙ עוֹכֵ֣ר) יִשְׂרָאֵ֔ל), who transgressed in the thing accursed.”  Hebrew: וּבְנֵ֥י אֵיתָ֖ן עֲזַרְיָֽה׃  Hebrew: וּבְנֵ֥י חֶצְר֖וֹן אֲשֶׁ֣ר נוֹלַד־ל֑וֹ אֶת־יְרַחְמְאֵ֥ל וְאֶת־רָ֖ם וְאֶת־כְּלוּבָֽי׃  Matthew 1:3, 4: “And Judas begat Phares and Zara of Thamar; and Phares begat Esrom; and Esrom begat Aram (Ἀρὰμ); and Aram (Ἀρὰμ) begat Aminadab; and Aminadab begat Naasson; and Naasson begat Salmon…”  1 Chronicles 2:18: “And Caleb (וְכָלֵב) the son of Hezron begat children of Azubah his wife, and of Jerioth: her sons are these; Jesher, and Shobab, and Ardon.”  1 Chronicles 2:42: “Now the sons of Caleb (כָלֵב) the brother of Jerahmeel were, Mesha his firstborn, which was the father of Ziph; and the sons of Mareshah the father of Hebron.”  Thus the Septuagint and the Vulgate.  Hebrew: וְרָ֖ם הוֹלִ֣יד אֶת־עַמִּינָדָ֑ב וְעַמִּינָדָב֙ הוֹלִ֣יד אֶת־נַחְשׁ֔וֹן נְשִׂ֖יא בְּנֵ֥י יְהוּדָֽה׃  Hebrew: וְנַחְשׁוֹן֙ הוֹלִ֣יד אֶת־שַׂלְמָ֔א וְשַׂלְמָ֖א הוֹלִ֥יד אֶת־בֹּֽעַז׃  Ruth 4:21: “And Salmon (וְשַׂלְמוֹן) begat Boaz, and Boaz begat Obed…”  Matthew 1:4: “And Aram begat Aminadab; and Aminadab begat Naasson; and Naasson begat Salmon (Σαλμών)…”  Hebrew: וּבֹ֙עַז֙ הוֹלִ֣יד אֶת־עוֹבֵ֔ד וְעוֹבֵ֖ד הוֹלִ֥יד אֶת־יִשָֽׁי׃