and Josiah was the father of Jechoniah and his brothers, at the time of the Babylonian resettlement.
After the Babylonian resettlement, Jechoniah was the father of Shealtiel, Shealtiel was the father of Zerubbabel,
So all the generations from Abraham to David are fourteen generations, and from David to the Babylonian resettlement fourteen generations, and from the Babylonian resettlement to the Christ fourteen generations.