Origen
Catena Aurea · Lukasevangelium 2
And Joseph and his mother marvelled at those things which were spoken of him. And Simeon blessed them, and said unto Mary his mother, Behold, this child is set for the fall and rising again of many in Israel; and for a sign which shall be spoken against; (Yea, a sword shall pierce through thy own soul also,) that the thoughts of many hearts may be revealed.
But they who look deeper into the matter may say, that since the genealogy is deduced from David to Joseph, therefore lest Joseph should seem to be mentioned for no purpose, as not being the father of the Saviour, he was called His father, that the genealogy might maintain its place.