I think that may be another reason why the invention of God has remained. I think primarily he was invented to control the masses of people.
This reminded me of an argument that people use to still justify believing in a God. Free will. When people ask ... why does God allow this or that? Why does God not intervene? etc. Their answer? Because God "granted" us free will! Yeah right! That is just a cop-out answer to justify them still believing in an imaginary being who does NOTHING!