The Course talks in regards to the ego in a way that is definitely further than what Freud did. Freud observed the ego as owning some type of price, being a mediator among our morals and mores around the one hand, and our unconscious urges and impulses on one other. https://awakening-mind.org/resources/a-course-in-miracles/