Lord executed judgments," the Pirke De-Rabbi Eliezer taught that when the Israelites left Egypt, God cast down and broke all the Egyptians' idols. The Gemara taught that while the Israelites were in the Jordan River with the water standing up in a heap (as reported in ), Joshua told them that they were crossing the Jordan on condition that they would disinherit the inhabitants of the land, as says: "Then you shall drive out all the inhabitants of the land from before you." Joshua told them that if they did this, it would be well and good; otherwise, the water would return and drown them. Interpreting , , and , the Gemara noted a dispute over whether the land of Israel was apportioned according to those who came out of Egypt or according to those who went into the land of Israel. It was taught in a Baraita that Rabbi Josiah said that the land of Israel was apportioned according to those who came out of Egypt, as says, "according to the names of the tribes of their fathers they shall inherit." The Gemara asked what then to make of , which says, "Unto these the land shall be divided for an inheritance." The Gemara proposed that "unto these" meant adults, to the exclusion of minors. But Rabbi Jonathan taught that the land was apportioned according to those who entered the land, for says, "Unto these the land shall be divided for an inheritance." The Gemara posited that according to this view, taught that the manner of inheritance of the land of Israel differed from all other modes of inheritance in the world. For in all other modes of inheritance in the world, the living inherit from the dead, but in this case, the dead inherited from the living. Rabbi Simeon ben Eleazar taught a third view — that the land was divided both according to those who left Egypt and also according to those who entered the land of Israel, so as to carry out both verses. The Gemara explained that according to this view, one among those who came out of Egypt received a share among those who came out of Egypt, and one who entered the land of Israel received a share among those who entered the land. And one who belonged to both categories received a share among both categories. Numbers chapter 35 Chapter 2 of