Parshas Tetzaveh · EXTRA (side-ring) · Passuk 29:46
English: Ramban questions Rashi's reading of “to dwell among them” as a condition, since this use of the prefixed lamed is not otherwise found. He suggests instead, “They will know, when I dwell among them, that I am Hashem their God who brought them out of Egypt.” Ibn Ezra offers a different reading: the purpose of bringing Israel out of Egypt was precisely that Hashem should dwell among them, as in “you shall serve God on this mountain.” Ramban says that Ibn Ezra explained this well.
Ramban discusses whether the dwelling of the Shechinah is a condition or the very purpose of the Exodus, and endorses Ibn Ezra's reading that Israel was taken out of Egypt so that Hashem would dwell among them.