Emil M. Cioran said this quote

Knowledge subverts love: in proportion as we penetrate our secrets, we come to loathe our kind, precisely because they resemble us.