Pi-hahiroth was famous, besides, on account of the treasures heaped up there. The wealth of the world which Joseph had acquired through the sale of corn he had stored up during the seven years of plenty, he had divided into three parts. The first part he surrendered to Pharaoh. The second part he concealed in the wilderness, where it was found by Korah, though it disappeared again, not to come to view until the Messianic time, and then it will be for the benefit of the pious. The third part Joseph hid in the sanctuary of Baal-zephon, whence the Hebrews carried it off as booty.
Korah — Joseph and the Lawgiver
Legends of the Jews 1:12