וַיֵּ֥ט מֹשֶׁ֛ה אֶת־יָד֖וֹ עַל־הַשָּׁמָ֑יִם וַיְהִ֧י חֹֽשֶׁךְ־אֲפֵלָ֛ה בְּכָל־אֶ֥רֶץ מִצְרַ֖יִם שְׁלֹ֥שֶׁת יָמִֽים׃
And Moses stretched forth his hand toward heaven; and there was a thick darkness in all the land of Egypt three days;
Read Jewish philosophical commentary on Exodus 10:22: and classical philosophical sources.