The Course talks with regard to the ego in a means that is past what Freud did. Freud noticed the Moi as getting some type of price, as a mediator in between our morals and mores to the just one hand, and our unconscious urges and impulses on the other. https://awakening-mind.org/resources/a-course-in-miracles/