وَلَا تَكُونُوا۟ كَٱلَّذِينَ خَرَجُوا۟ مِن دِيَـٰرِهِم بَطَرًا وَرِئَآءَ ٱلنَّاسِ وَيَصُدُّونَ عَن سَبِيلِ ٱللَّهِ ۚ وَٱللَّهُ بِمَا يَعْمَلُونَ مُحِيطٌ Qur’an Al-Anfal (8:47)Wala takoonoo kaallatheena kharajoo min diyarihim bataran wariaa alnnasi wayasuddoona AAan sabeeli Allahi waAllahu bima yaAAmaloona muheetun
A reference to the Quraysh army which set forth from Mecca under the leadership of Abu Jahl in the conviction that they would destroy the Prophet and his followers. These words imply a warning to the believers, of all times, never to go to war boastfully and for the sake of empty glory.
A true description of the Makkan army which met its doom.