In the Gemara (Berachos 32a) we find the following passage:
“Rabbi Simlai taught: ‘A person should always arrange the praises of Hakadosh Baruch Hu (by praising Hashem first), and only then pray. From where do we derive this? From Moshe, as it is written (Devarim 3:23), וָאֶתְחַנַּן אֶל ה› בָּעֵת הַהִוא לֵאמֹר - And I implored Hashem at that time, and it is written afterward (ibid. 24), אֲ-דֹנָי ה› אַתָּה הַחִלּוֹתָ לְהַרְאוֹת אֶת עַבְדְּךָ אֶת גָּדְלְךָ וְאֶת יָדְךָ הַחֲזָקָה אֲשֶׁר מִי קֵל בַּשָּׁמַיִם וּבָאָרֶץ אֲשֶׁר יַעֲשֶׂה כְמַעֲשֶׂיךָ וְכִגְבוּרֹתֶךָ - Hashem God, You have begun to show Your servant Your greatness and Your mighty hand, for what god is there in heaven or on earth who can perform deeds and mighty acts like Yours? And then it is written (ibid. 25), אֶעְבְּרָה נָּא וְאֶרְאֶה אֶת הָאָרֶץ הַטּוֹבָה - Please let me cross and see the good land.”