The Course talks concerning the ego in a method that may be beyond what Freud did. Freud observed the Moi as possessing some kind of benefit, for a mediator concerning our morals and mores over the just one hand, and our unconscious urges and impulses on another. Jesus suggests in https://www.youtube.com/watch?v=4q42p8bnJy8