What distinguished the Israelites from the Egyptians was not that the former were inherently more righteous than the latter. Judged by God, the Israelites and the Egyptians all deserved to die. However, the Passover lambs became a substitute for the Israelite firstborn.