The Course talks with regard to the ego in a way that is definitely beyond what Freud did. Freud noticed the ego as acquiring some kind of value, being a mediator concerning our morals and mores around the a single hand, and our unconscious urges and impulses on the opposite. https://awakening-mind.org/resources/a-course-in-miracles/