The Course talks concerning the ego in a method that is certainly over and above what Freud did. Freud saw the Moi as having some type of benefit, for a mediator between our morals and mores about the just one hand, and our unconscious urges and impulses on the other. https://awakening-mind.org/resources/a-course-in-miracles/