The Course talks about the ego in a means that's beyond what Freud did. Freud saw the ego as getting some type of benefit, like a mediator amongst our morals and mores to the one hand, and our unconscious urges and impulses on one other. Jesus says in the Course https://www.youtube.com/watch?v=RSlwOZLlUGg