The Course talks in regards to the Moi in a method that's outside of what Freud did. Freud observed the ego as acquiring some sort of benefit, being a mediator among our morals and mores on the one hand, and our unconscious urges and impulses on the opposite. Jesus says https://awakening-mind.org/resources/a-course-in-miracles/