René Descartes said this quote

Thus the perception of the infinite is somehow prior in me to the perception of the finite, that is, my perception of God is prior to my perception of myself. For how would I understand that I doubt and that I desire, that is, that I lack something and that I am not wholly perfect, unless there were some idea in me of a more perfect being, by comparison with which I might recognize my defects?