The Course talks with regards to the ego in a way that is past what Freud did. Freud noticed the Moi as getting some form of value, for a mediator amongst our morals and mores over the a person hand, and our unconscious urges and impulses on another. Jesus states https://awakening-mind.org/resources/a-course-in-miracles/