I asked Messenger of Allah ﷺ about virtue and vice. He said: Virtue is a kind disposition and vice is what rankles in your heart and that you disapprove that people should come to know of it. (Using translation from Muslim 2553a)
سَأَلْتُ رَسُولَ اللَّهِ ﷺ عَنِ البر وَالْإِثْمِ فَقَالَ «الْبِرُّ حُسْنُ الْخُلُقِ وَالْإِثْمُ مَا حَاكَ فِي نَفْسِكَ وَكَرِهْتَ أَنْ يَعْلَمَهُ النَّاسُ»