Sir 21:27

27When an ungodly person curses an adversary, he curses himself.