Jesus needed St. Joseph as a father because the human nature of Jesus required it. When the Son of God became incarnate, he placed himself under the anthropological (human) requirements of needing a human father to love, feed, educate, shelter, clothe, and protect him. Jesus, the Incarnate Word, is not a pure spiritual being. He is the God-Man. He has a divine nature and a human nature.