The Course talks regarding the ego in a way that may be beyond what Freud did. Freud observed the ego as getting some form of worth, as being a mediator involving our morals and mores within the one hand, and our unconscious urges and impulses on another. Jesus claims in https://podcasts.apple.com/us/podcast/a-course-in-miracles-acim-podcast/id1456963067