Bhagavad Gita 4.13
The four divisions of society—the wise, the soldier, the merchant, and the laborer—were created by Me, according to the natural distribution of qualities and instincts. I am the author of them, though I Myself do not act and am changeless.
चातुर्वर्ण्यं मया सृष्टं गुणकर्मविभागशः।
तस्य कर्तारमपि मां विद्ध्यकर्तारमव्ययम्॥cāturvarṇyaṃ mayā sṛṣṭaṃ guṇakarmavibhāgaśaḥ|
tasya kartāramapi māṃ viddhyakartāramavyayam||
English translation (above): Shri Purohit Swami (1935), public domain. Sanskrit text via github.com/gita/gita (Unlicense).