Behind door ten you find a lawyer. Joseph found out that Mary was pregnant and he knew he was not the father. I can’t imagine the sense of loss he was feeling. In spite of his pain and anger he was still going to do the right thing.
(Mat 1:19 KJV) Then Joseph her husband, being a just man, and not willing to make her a publick example, was minded to put her away privily.You think you got problems.
God had a solution. He sent an angel special to Joseph to explain the situation. We hear a lot about what a wonderful young lady Mary was, I think Joseph was right up there in line for sainthood also.
If things are not going the way you expect then as the saying goes, grab hold, buckle up, hunker down and enjoy the ride. Keep in mind who is in the drivers seat.
homo unius libri