Thus Spoke Zarathustra
From the 1880s, Friedrich Nietzsche's "Thus Spoke Zarathustra", Part Two, "On Priests", said "... into every gap they put their delusion, their stopgap, which they called God.".