Bhagavad Gita 5.14

न कर्तव्यं न कर्माणि लोकस्य सृजति प्रभु: |
न कर्मफलसंयोगं स्वभावस्तु प्रवर्तते

Translation

Neither the sense of doership nor the nature of actions comes from God; nor does He create the fruits of actions. All this is enacted by the modes of material nature (guṇas).