The Course talks about the ego in a method that is certainly further than what Freud did. Freud observed the ego as having some sort of value, being a mediator amongst our morals and mores on the one hand, and our unconscious urges and impulses on another. Jesus states in https://www.youtube.com/watch?v=p3IfcO3MzMs