The Course talks regarding the Moi in a method that's further than what Freud did. Freud saw the ego as obtaining some form of value, for a mediator in between our morals and mores to the a person hand, and our unconscious urges and impulses on the other. Jesus states https://awakening-mind.org/resources/a-course-in-miracles/