When god brought upon Egypt the tenth plague of killing the first born, he told the israelites to put blood on the thresholds of their homes and the angel of death passed over the homes of the Hebrews, and only took the first born of the Egyptians.