The Course talks regarding the ego in a way which is beyond what Freud did. Freud saw the Moi as possessing some sort of value, as being a mediator between our morals and mores about the one hand, and our unconscious urges and impulses on the opposite. Jesus states inside https://awakening-mind.org/resources/a-course-in-miracles/