The Course talks regarding the ego in a way which is outside of what Freud did. Freud saw the ego as getting some sort of worth, being a mediator amongst our morals and mores about the just one hand, and our unconscious urges and impulses on one other. Jesus suggests https://www.youtube.com/watch?v=1amb7r2WR1g