Еврейская мысль к Мелахим А 8:32

וְאַתָּ֣ה ׀ תִּשְׁמַ֣ע הַשָּׁמַ֗יִם וְעָשִׂ֙יתָ֙ וְשָׁפַטְתָּ֣ אֶת־עֲבָדֶ֔יךָ לְהַרְשִׁ֣יעַ רָשָׁ֔ע לָתֵ֥ת דַּרְכּ֖וֹ בְּרֹאשׁ֑וֹ וּלְהַצְדִּ֣יק צַדִּ֔יק לָ֥תֶת ל֖וֹ כְּצִדְקָתֽוֹ׃ (ס)

тогда услышь с неба и сделай, и суди рабов Твоих, осуждая нечестивых, проложить им путь к собственной голове; и оправдывая праведника, чтобы дать ему согласно его праведности.

Akeidat Yitzchak

That concept was taught to Jacob in the dream via the vision of the ladder. Another way of expressing the lesson is this: Only after mastery of the lessons of ma-aseh bereshit, the workings of the physical universe, can one hope to gain insights into ma-asseh merkavah, the workings of celestial relationships.