The Course talks regarding the ego in a way which is past what Freud did. Freud noticed the ego as getting some sort of value, to be a mediator between our morals and mores within the just one hand, and our unconscious urges and impulses on the other. Jesus suggests https://www.youtube.com/watch?v=V7lEomNLUOE&t=8s