The Course talks with regard to the ego in a means which is further than what Freud did. Freud saw the ego as acquiring some kind of worth, as a mediator involving our morals and mores around the one hand, and our unconscious urges and impulses on the other. Jesus https://awakening-mind.org/resources/a-course-in-miracles/