Sigmund Freud said this quote

Analysis does not set out to make pathological reactions impossible, but to give the patient's ego freedom to decide one way or another.