The Course talks concerning the ego in a way that may be further than what Freud did. Freud observed the ego as getting some type of benefit, to be a mediator involving our morals and mores around the one particular hand, and our unconscious urges and impulses on the opposite. https://www.youtube.com/watch?v=qXuO1TM249o