The Course talks in regards to the ego in a way that's past what Freud did. Freud saw the ego as getting some kind of value, to be a mediator involving our morals and mores on the one hand, and our unconscious urges and impulses on one other. Jesus claims https://awakening-mind.org/resources/a-course-in-miracles/