וְאַתָּ֣ה ׀ תִּשְׁמַ֣ע הַשָּׁמַ֗יִם וְעָשִׂ֙יתָ֙ וְשָׁפַטְתָּ֣ אֶת־עֲבָדֶ֔יךָ לְהַרְשִׁ֣יעַ רָשָׁ֔ע לָתֵ֥ת דַּרְכּ֖וֹ בְּרֹאשׁ֑וֹ וּלְהַצְדִּ֣יק צַדִּ֔יק לָ֥תֶת ל֖וֹ כְּצִדְקָתֽוֹ׃ (ס)
So mögest du hören im Himmel und Recht schaffen deinen Knechten, den Schuldigen zu bestrafen nach seinem Wandel und den Gerechten nach seiner Gerechtigkeit lohnen.
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.