The Course talks with regard to the ego in a way that's further than what Freud did. Freud saw the ego as getting some kind of benefit, as a mediator among our morals and mores over the one hand, and our unconscious urges and impulses on one other. Jesus suggests https://www.facebook.com/acourseinmiraclesdavid/