The Course talks in regards to the ego in a means which is beyond what Freud did. Freud noticed the ego as acquiring some sort of benefit, being a mediator in between our morals and mores over the a single hand, and our unconscious urges and impulses on the other. https://www.youtube.com/watch?v=Oe36fe1qPtQ