Beyond Good and Evil by Friedrich Wilhelm Nietzsche

146. He who fights with monsters should be careful lest he thereby

become a monster. And if thou gaze long into an abyss, the abyss will also gaze into thee.