תניא רבי סימאי אומר נאמר (שמות ו, ז) ולקחתי אתכם לי לעם ונאמר והבאתי אתכם מקיש יציאתן ממצרים לביאתן לארץ מה ביאתן לארץ שנים מס' ריבוא אף יציאתן ממצרים שנים מס' ריבוא אמר רבא וכן לימות המשיח שנא' (הושע ב, יז) וענתה שמה כימי נעוריה וכיום עלותה מארץ מצרים
It is taught in a baraita with regard to the few that are destined to be redeemed: Rav Simai says that it is stated: “And I will take you to Me as a people” (Exodus 6:7), and juxtaposed to that verse it is stated: “And I will bring you into the land” (Exodus 6:8). The Torah compares their exodus from Egypt to their entry into the land; just as during their entry into the land only two of six hundred thousand entered the land, as they all died in the wilderness except for Calev and Joshua, so too, during their exodus from Egypt, in terms of the ratio, only two of six hundred thousand left Egypt and the rest died there. Rava says: And likewise, that will be situation in the messianic era, as it is stated: “And she shall respond there, as in the days of her youth, and as in the day when she came up out of the land of Egypt” (Hosea 2:17). The ultimate redemption and the exodus from Egypt are juxtaposed, indicating that in the messianic era too, only few will survive. [Sanhedrin 111a]
This Gemara is a פליאה נשגבה לא אוכל לה. So for the inquiring mind - I send you to the Meshech Chochma on this week's Parsha who opens our eyes: