The Course talks concerning the ego in a way that's past what Freud did. Freud saw the ego as getting some kind of value, as being a mediator in between our morals and mores around the a single hand, and our unconscious urges and impulses on another. Jesus says in https://www.youtube.com/watch?v=7cBHAtTOxoI