Thus there were fourteen generations in all from Abraham to David, fourteen from David to the exile to Babylon, and fourteen from the exile to the Messiah.
NIV
So all the generations from Abraham to David are fourteen, from David to the Babylonian exile (deportation) fourteen generations, from the Babylonian exile to the Christ fourteen generations.
AMP
So all the generations from Abraham to David are fourteen generations; and from David until the carrying away into Babylon are fourteen generations; and from the carrying away into Babylon unto Christ are fourteen generations.
KJV
Because Joseph her husband was a righteous man and did not want to expose her to public disgrace, he had in mind to divorce her quietly.
NIV
And her [promised] husband Joseph, being a just and upright man and not willing to expose her publicly and to shame and disgrace her, decided to repudiate and dismiss (divorce) her quietly and secretly.
AMP
Then Joseph her husband, being a just man, and not willing to make her a publick example, was minded to put her away privily.
KJV