The Course talks regarding the ego in a way which is outside of what Freud did. Freud observed the Moi as having some kind of worth, being a mediator involving our morals and mores within the one particular hand, and our unconscious urges and impulses on another. Jesus states in https://awakening-mind.org/resources/a-courseinmiracles/