Victor Hugo said this quote

There are, as we know, powerful and illustrious atheists. At bottom, led back to the truth by their very force, they are not absolutely sure that they are atheists; it is with them only a question of definition, and in any case, if they do not believe in God, being great minds, they prove God.