Life and Gospel Witness
According to the Gospels, Joseph resided in Nazareth and was descended from the line of David. The Gospel of Matthew names his father as Jacob, while the Gospel of Luke names Heli, a discrepancy that scholars continue to discuss.
When Joseph discovered that Mary was with child, he initially planned to put her away privately, but received reassurance from an angel in a dream. Matthew records three angelic dreams in all: one instructing him to take Mary as his wife, another warning him of the danger posed by King Herod, and a third directing his return to Nazareth.
Joseph traveled with Mary to Bethlehem for the census, witnessed the birth of Jesus in humble circumstances, and afterward fled with the family to Egypt when warned of Herod's threat. The family later returned to settle in Nazareth. His final appearance in the Gospels occurs when Jesus is twelve years old at the Temple in Jerusalem.
The Gospels make no mention of Joseph's death. Several scriptural details suggest he had died before the public ministry of Jesus began: he is absent from the wedding feast at Cana, he is not described at the crucifixion alongside Mary, and Jesus entrusted his mother to the Apostle John rather than to Joseph. Scholars suggest he died and was buried at Nazareth.