Bhagavad Gita 17.3
Chapter 17: The three kinds of faith
सत्त्वानुरूपा सर्वस्य श्रद्धा भवति भारत ।
श्रद्धामयोऽयं पुरुषो यो यच्छ्रद्धः स एव सः ॥ ३ ॥
The faith of each is shaped to his own nature, O Bhârata. The man consists of his faith; that which his faith is, he is even that.
Sanskrit text and English translation: Annie Besant, The Bhagavad-Gita, 4th edition (1922) — public domain, via Wikisource. Chapter summaries: SamayaVeda.