Fyodor Dostoyevsky said this quote

But profound as psychology is, it's a knife that cuts both ways (...). I have purposely resorted to this method, gentlemen of the jury, to show that you can prove anything by it. It all depends on who makes use of it. Psychology lures even most serious people into romancing, and quite unconsciously. I am speaking of the abuse of psychology, gentlemen.