17 But the midwives feared God, and did not as the king of Egypt commanded them, but saved the men children alive .