וַיִּשְׁמַ֥ע אֱלֹהִ֖ים אֶת־נַאֲקָתָ֑ם וַיִּזְכֹּ֤ר אֱלֹהִים֙ אֶת־בְּרִית֔וֹ אֶת־אַבְרָהָ֖ם אֶת־יִצְחָ֥ק וְאֶֽת־יַעֲקֹֽב׃
And God heard their groaning, and God remembered His covenant with Abraham, with Isaac, and with Jacob.
Read Jewish philosophical commentary on Exodus 2:24: and classical philosophical sources.