“Jesus” was the Greek form of the Hebrew name “Joshua.” The name “Joshua” meant “God saves.” Other men of the Israelites also had this name, but Jesus was unlike them because he was also the “son of David.” The title “son of David” was also a name for the messiah.
See: Messiah (Christ); Save (Salvation, Saved from Sins); Son of David
When Matthew wrote that Joseph was a “righteous man” it meant that he was a man that obeyed the Law of Moses. Joseph thought that Mary must have committed adultery in order for her to become pregnant. Joseph thought he should end his engagement with Mary because this was taught in the Law of Moses. Other scholars think Matthew wanted people to know that Joseph was a righteous man because he wanted to end his engagement with Mary in a quiet way, so as not to dishonor Mary.
See: Righteous (Righteousness); Adultery; Law of Moses
In ancient Israel, when a woman was disgraced publicly, she was brought to court because she did something wrong. This would have caused great shame and embarrassment for Mary. Perhaps she would also have been punished.
See: Ancient Trials (Lawsuit); Punish (Punishment)
When Matthew wrote the words, “fulfill what was spoken,” he was speaking about prophecies being fulfilled. It was prophesied that Mary would become pregnant, and Jesus would be born.
That Joseph took Mary as his wife meant that Mary became Joseph’s wife and he took her into his home. This showed everyone that Joseph accepted Mary as his wife.