The Course talks about the ego in a way that is definitely outside of what Freud did. Freud observed the Moi as acquiring some sort of benefit, like a mediator between our morals and mores over the one hand, and our unconscious urges and impulses on the other. Jesus says https://www.youtube.com/watch?v=imiGL2YS2uo