The Course talks with regard to the ego in a method that's beyond what Freud did. Freud noticed the ego as acquiring some kind of worth, to be a mediator among our morals and mores to the one hand, and our unconscious urges and impulses on another. Jesus states inside https://awakening-mind.org/resources/a-course-in-miracles/