There is no such thing as mental illness, hence also no such thing as psychotherapy.
Mental illness, of course, is not literally a "thing" - or physical object - and hence it can "exist" only in the same sort of way in which other theoretical concepts exist.
We shall therefore compare the concept of homosexuality as heresy, prevalent in the days of the witch-hunts, with the concept of homosexuality as mental illness, prevalent today.