The Course talks concerning the ego in a way which is further than what Freud did. Freud noticed the ego as getting some sort of value, being a mediator between our morals and mores within the one hand, and our unconscious urges and impulses on another. Jesus claims in a https://awakening-mind.org/resources/a-course-in-miracles/