The Course talks in regards to the ego in a way that's past what Freud did. Freud observed the Moi as obtaining some sort of value, as a mediator between our morals and mores within the a person hand, and our unconscious urges and impulses on another. Jesus claims in https://awakening-mind.org/resources/a-course-in-miracles/