וְאַתָּה֙ כִּֽי־הִזְהַ֣רְתָּ רָשָׁ֔ע וְלֹא־שָׁב֙ מֵֽרִשְׁע֔וֹ וּמִדַּרְכּ֖וֹ הָרְשָׁעָ֑ה ה֚וּא בַּעֲוֺנ֣וֹ יָמ֔וּת וְאַתָּ֖ה אֶֽת־נַפְשְׁךָ֥ הִצַּֽלְתָּ׃ (ס)
Gdybyś wszakże ostrzegał złoczyńcę, a ten by nie odwrócił się od niegodziwości swojej, ani od drogi swej niecnej, wtedy on wskutek winy swej zginie, ale tyś duszę swą ocalił.
Zohar
Not only that, but he warned them every day, but they did not pay heed. And the verse, "yet if you warn the wicked...but you have saved your soul" (Ezekiel 3:19), is applied to him. From this we learn that whoever warns the wicked - even if the wicked do not heed him - that person saves himself, while the wicked are punished according to their sins. How far should he go in warning them? To the point of hitting them. This issue has already been explained by the friends.