The Course talks about the ego in a method that is past what Freud did. Freud saw the ego as getting some sort of worth, as being a mediator among our morals and mores over the one hand, and our unconscious urges and impulses on one other. Jesus suggests in https://www.youtube.com/watch?v=0USI3vTZ0aw