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)
سَأَلْتُ النَّبِيَّ ﷺ عَنِ الْبِرِّ وَالْإِثْمِ قَالَ «الْبِرُّ حُسْنُ الْخُلُقِ وَالْإِثْمُ مَا حَاكَ فِي صَدْرِكَ وَكَرِهْتَ أَنْ يَطَّلِعَ عَلَيْهِ النَّاسُ»