What is the meaning of Matthew 1:3?

Matthew 1:3 KJV
And Judas begat Phares and Zara of Thamar; and Phares begat Esrom; and Esrom begat Aram;

Matthew 1:3 MKJV
And Judah fathered Pharez and Zarah of Tamar. And Pharez fathered Hezron, and Hezron fathered Ram,

Matthew 1:3 NKJV
Judah begot Perez and Zerah by Tamar, Perez begot Hezron, and Hezron begot Ram.

Matthew 1:3 KJV 2000
And Judah begat Perez and Zerah of Tamar; and Perez begat Hezron and Hezron begat Ram;

Interlinear KJV

And /de/ Judas /Ioudas/ begat /gennao/ Phares /Phares/ and /kai/ Zara /Zara/ of /ek/ Thamar; /Thamar/ and /de/ Phares /Phares/ begat /gennao/ Esrom; /Esrom/ and /de/ Esrom /Esrom/ begat /gennao/ Aram; /Aram/

Matthew Poole’s Commentary

Verse 3. That Judas begat Phares and Zara (they were twins born by Thamar Judas’ daughter-in-law), the relict of his son Er whom God slew, Ge 38:7, appeareth from Ge 38:27-30. That Phares begat Ezrom appeareth from Ru 4:18; 1Ch 2:5; and from the same texts appears also that Ezrom begat Aram, Ru 4:19; 1Ch 2:9, where he is called Ram. Some may possibly be offended that amongst all the ancestors of Christ there are but three women named, and all of them such as had a great stain and blot upon their reputation. This Thamar, the mother of Phares and Zara, was blotted with incest, and Phares was one of the children begot in that incest. Rahab also is mentioned, Mt 1:5, whom the Scripture calls a harlot, Jos 2:1; and Bathsheba was stained with adultery. But we ought to consider:  

1. That (though we indeed inherit original corruption from our parents) no man derives any intrinsic badness from the vice of his parents, though he may derive a blot upon his honor and reputation from it.  

2. That this was one degree of our Saviour’s humiliation.  

3. That it was no way contradictory, that He who came into the world to die for great sinners, should be born of some that were such.

Mt ch 1Mt 1:1Mt 1:2Mt 1:3Mt 1:4Mt 1:5Mt 1:6Mt 1:7Mt 1:8
Mt 1:9Mt 1:10Mt 1:11Mt 1:12Mt 1:13Mt 1:14Mt 1:15Mt 1:16Mt 1:17
Mt 1:18Mt 1:19Mt 1:20Mt 1:21Mt 1:22Mt 1:23Mt 1:24Mt 1:25