The Course talks in regards to the ego in a means which is over and above what Freud did. Freud observed the ego as having some form of benefit, as a mediator concerning our morals and mores on the one hand, and our unconscious urges and impulses on the opposite. https://awakening-mind.org/resources/a-course-in-miracles/