He argued that the gods emerge out of the wishes of mankind in his last book, 1857's Theogonie.  
His second book was a history of modern philosophy that went from Bacon to Spinoza, which was published five years after he defended his dissertation on "the infinitude, unity, and commonality of reason."  He lost his academic position over a set of anti-religious epigrams which he appended to a book which argued that each human consciousness will be absorbed into universal consciousness after death.   He argued that the gods emerge out of the wishes of mankind in his last book, 1857's Theogonie.  The author of Principles of the Philosophy of the Future and Thoughts on Death and Immortality, his most famous work inspired thinkers like David Strauss by arguing that God is merely an outward projection of human nature. FTP identify this Hegelian philosopher who is best known for The Essence of Christianity.
His second book was a history of modern philosophy that went from Bacon to Spinoza, which was published five years after he defended his dissertation on "the infinitude, unity, and commonality of reason."  
Ludwig Feuerbach