We don't know much about Joseph, other than God saying he was righteous man. I believe it was because he knew the Word of God and could trust what the Angle told him in a dream. Than we see how the Church today is so much like the children of Israel at the time Christ was born.