The Course talks with regard to the ego in a means that's outside of what Freud did. Freud observed the Moi as getting some type of value, being a mediator in between our morals and mores to the one hand, and our unconscious urges and impulses on another. Jesus claims https://awakening-mind.org/resources/a-course-in-miracles/