The Prophet ﷺ said: If any man is among a people in whose midst he does acts of disobedience, and, though they are able to make him change (his acts), they do not change, Allah will smite them with punishment before they die. (Using translation from Abū Dāʾūd 4339)
سَمِعْتُ رَسُولَ اللهِ ﷺ يَقُولُ «مَا مِنْ رَجُلٍ يَكُونُ فِي قَوْمٍ يَعْمَلُ فِيهِمْ بِالْمَعَاصِيِ يَقْدِرُونَ أَنْ يُغَيِّرُوا عَلَيْهِ وَلَا يُغَيِّرُونَ إِلَّا أَصَابَهُمُ اللهُ بِعِقَابٍ قَبْلَ أَنْ يَمُوتُوا»