Mt 1:17. See CAPTIVITY.
So the whole number of generations from Abraham to David is fourteen, and from David to the Babylonian Exile, fourteen, and from the Babylonian Exile to the Christ, fourteen.