What percentage of the time do you think we see guys bringing a girl to church instead of the other way around?
What percentage of faithful church attendees stop attending church altogether once they get involved in a new relationship with someone?
A young couple are pledged to be married, and miraculously the girl comes up pregnant. He's hurt. He's done. But he's in love with both the girl and the God he serves.
Before Mary and Joseph were ever betroth to be married they separately already had a foundation of righteousness before God. Even in the midst of things, seemingly, not working out like Joseph wanted them to he still obeyed the Lord. Joseph was seeking the Lord before all that started, and that formed his obedience during the most difficult times.
Yoked - Matthew 1:18-25