In the Parasha Bo (בא “come”), Exodus 10:1-13:16, it is written that following Pharaoh’s refusal to free the Bnei-Israel, Egypt is struck by the last three plagues: locusts, darkness, and the death of the firstborn. After this final plague, the Bnei-Israel leave Egypt, taking great riches with them.
Exodus 12:35-36
וּבְנֵי-יִשְׂרָאֵל עָשׂוּ, כִּדְבַר מֹשֶׁה; וַיִּשְׁאֲלוּ, מִמִּצְרַיִם, כְּלֵי-כֶסֶף וּכְלֵי זָהָב, וּשְׂמָלֹת. וַיי נָתַן אֶת-חֵן הָעָם, בְּעֵינֵי מִצְרַיִם–וַיַּשְׁאִלוּם; וַיְנַצְּלוּ, אֶת-מִצְרָיִם. {פ}
The children of Israel had conformed to the word of Moses, asking the Egyptians for silver vessels, gold vessels, and clothes, and Hashem had inspired for this people benevolence from the Egyptians, who lent to them, so that they despoiled the Egyptians.
A papyrus, written around 1500 BCE (1) by the scribe Ipou-Our, discovered in Memphis, describes the devastating calamities that struck Egypt in his time (2) : the Nile turning into blood, famine, drought, death striking the whole country, as well as the flight of the slaves who carry away the riches (3).
(1) 1500 BCE corresponds to the 19th Egyptian dynasty.
(2) This papyrus is currently preserved at the National Museum of Antiquities in Leiden, the Netherlands, under the reference Leiden I 344 recto. It was translated in 1909 by the British Egyptologist Sir Alan Henderson Gardiner (1879–1963). English translations.
(3) Genesis 15:14
יד וְגַם אֶת-הַגּוֹי אֲשֶׁר יַעֲבֹדוּ, דָּן אָנֹכִי; וְאַחֲרֵי-כֵן יֵצְאוּ, בִּרְכֻשׁ גָּדוֹל.
But, in turn, the nation they will serve will be judged by Me; and then they will leave it with great riches.