in the old testament , moses led the israelites from the bondage of slavery after yahweh , their one true god , inflicted the ten plagues on egypt , ending with the death of the firstborn male child of every household not protected by the mark of lambs blood on their door .