Which theory proposed that psychologists should help patients replace negative thoughts with constructive thoughts?

trait theory
behaviorism theory
psychoanalytic theory
cognitive theory