When one falls from his emunah, he comes to nocturnal impurity, to thoughts about women, and to thoughts of idolatry.
Sefer HaMidos, Faith, Part I §29