The gospel of Matthew is the only one to tell us Mary was pregnant before she and Joseph had sex. She was said to be “with child from the Holy Spirit”. In proof of this, Matthew quoted a prophecy from the Old Testament that a “virgin will conceive and bear a son and he will be called Emmanuel”.