The Course talks with regards to the Moi in a way that is certainly further than what Freud did. Freud saw the ego as obtaining some type of benefit, as being a mediator between our morals and mores over the 1 hand, and our unconscious urges and impulses on another. https://awakening-mind.org/resources/a-course-in-miracles/