"Nor walk on the earth" meaning: upon the earth, "exultantly" as the polytheists walk.
Muhammad said: The root of al-marah (exultation) is the movement of insolence and vanity. "Indeed, you will never tear the earth" with your foot when you walk, "nor will you reach the mountains in height."
﴿وَلَا تمش فِي الأَرْض﴾ يَعْنِي: على الأَرْض ﴿مرحا﴾ كَمَا يَمْشِي الْمُشْرِكُونَ.
قَالَ مُحَمَّدٌ: أَصْلُ الْمَرَحِ: حَرَكَةُ الْأَشِرِ وَالْبَطَرِ. ﴿إِنَّك لن تخرق الأَرْض﴾ بِقَدَمِكَ إِذَا مَشِيتَ ﴿وَلَنْ تَبْلُغَ الْجبَال طولا﴾