The Course talks concerning the ego in a way that is definitely outside of what Freud did. Freud saw the ego as having some kind of value, as being a mediator in between our morals and mores within the 1 hand, and our unconscious urges and impulses on the other. https://awakening-mind.org/resources/a-course-in-miracles/