Abu Musa said "A bedouin came to the Apostle of Allaahﷺ and said "One man fights for reputation, one fights for being praised, one fights for booty and one for his place to be seen. (Which of them is in Allaah’s path?)". The Apostle of Allaahﷺ replied "The one who fights that Allaah’s word may have pre-eminence is in Allaah’s path".
The Prophet ﷺ also taught us through this hadith that we should never fight out of anger or hatred but instead strive for peace whenever possible. He showed us how important it is to think carefully before taking any action as our actions can have far reaching consequences both on ourselves and those around us. We must always remember to put God first when making decisions as He knows what is best for us all in every situation we face in life.