The Mishnah taught that Abraham suffered ten trials and withstood them all, demonstrating how great Abraham's love was for God. The Avot of Rabbi Natan taught that two trials were at the time he was bidden to leave Haran, two were with his two sons, two were with his two wives, one was in the wars of the Kings, one was at the covenant between the pieces, one was in Ur of the Chaldees (where, according to a tradition, he was thrown into a furnace and came out unharmed), and one was the covenant of circumcision. Similarly, the Pirke De-Rabbi Eliezer counted as the ten trials: (1) when Abram was a child and all the magnates of the kingdom and the magicians sought to kill him (see below), (2) when he was put into prison for ten years and cast into the furnace of fire, (3) his migration from his father's house and from the land of his birth, (4) the famine, (5) when Sarah his wife was taken to be Pharaoh's wife, (6) when the kings came against him to slay him, (7) when (in the words of ) "the word of the Lord came to Abram in a vision," (8) when Abram was 99 years old and God asked him to circumcise himself, (9) when Sarah asked Abraham (in the words of ) to "Cast out this bondwoman and her son," and (10) the binding of Isaac.