The Course talks with regards to the ego in a way that may be outside of what Freud did. Freud saw the ego as getting some kind of price, being a mediator among our morals and mores around the one hand, and our unconscious urges and impulses on one other. https://nondualteacher.com/