All This Was Done

Now the birth of Jesus Christ was on this wise: When as His mother Mary was espoused to Joseph, before they came together, she was found with child of the Holy Ghost.  Then Joseph her husband, being a just man, and not willing to make her a publick example, was minded to put her away privily.  But while he thought on these things, behold, the angel of the Lord appeared unto him in a dream, saying, “Joseph, thou son of David, fear not to take unto thee Mary thy wife: for that which is conceived in her is of the Holy Ghost.  And she shall bring forth a Son, and thou shalt call His name JESUS: for He shall save His people from their sins.”
Now all this was done, that it might be fulfilled which was spoken of the Lord by the prophet, saying,
“Behold, a virgin shall be with child, and shall bring forth a Son, and they shall call His name Emmanuel,” which being interpreted is, God with us.
Then Joseph being raised from sleep did as the angel of the Lord had bidden him, and took unto him his wife: and knew her not till she had brought forth her firstborn son: and he called His name JESUS.   Matthew 1:18-25

Wisdom Giving Instruction

“He that reproveth a scorner getteth to himself shame: and he that rebuketh a wicked man getteth himself a blot.
Reprove not a scorner, lest he hate thee: rebuke a wise man, and he will love thee.
Give instruction to a wise man, and he will be yet wiser: teach a just man, and he will increase in learning.
The fear of the LORD is the beginning of wisdom: and the knowledge of the holy is understanding. For by me thy days shall be multiplied, and the years of thy life shall be increased.”  Proverbs 9:7-11  (KJB)