“If a man wants the straps of his sandals to be better than the straps of his companion’s sandals..
Ibn Jarir recorded that `Ali said, “If a man wants the straps of his sandals to be better than the straps of his companion’s sandals, then he is one of those referred to in the Ayah,
[تِلْكَ الدَّارُ الاٌّخِرَةُ نَجْعَلُهَا لِلَّذِينَ لاَ يُرِيدُونَ عُلُوّاً فِى الاٌّرْضِ وَلاَ فَسَاداً وَالْعَـقِبَةُ لِلْمُتَّقِينَ ]
(That is the home of the Hereafter, We shall assign to those who do not want to exalt themselves in the land nor cause corruption. And the good end is for those who have Taqwa.) This is understood to mean that if his intention is to show off and appear better than others, then that is to be condemned, as it was reported in the Sahih that the Prophet said:
«إِنَّهُ أُوحِيَ إِلَيَّ أَنْ تَوَاضَعُوا حَتَّى لَا يَفْخَرَ أَحَدٌ عَلَى أَحَدٍ وَلَا يَبْغِي أَحَدٌ عَلَى أَحَد»
(It has been revealed to me that you should be humble to the extent that none of you boasts to others or mistreats others. ) But if a person simply likes to look good, then there is nothing wrong with that.
[Tafsir Ibn Kathir]