The Course talks with regard to the ego in a method that may be further than what Freud did. Freud saw the Moi as obtaining some kind of benefit, being a mediator in between our morals and mores over the one hand, and our unconscious urges and impulses on one https://awakening-mind.org/resources/a-course-in-miracles/