When Joseph woke up from his sleep, he did as the angel of Adonai commanded him and took Miriam as his wife.