Joseph woke up from his sleep and did as the angel of the Lord commanded him and he took her as his wife.