Another cool aspect that you probably know already is that Joseph adopted Jesus, and allowed for some critical lineages that were in Old Testament prophesy to be fulfilled.
Satan didn’t stand a chance, praise God!
Correction, I flipped those.
Josephs adoption created the Kingly lineage to David and Mary’s Priestly lineage.