The Course talks with regards to the ego in a way that may be outside of what Freud did. Freud saw the Moi as obtaining some sort of benefit, being a mediator among our morals and mores on the just one hand, and our unconscious urges and impulses on another. https://www.youtube.com/watch?v=7cBHAtTOxoI