BG 4.13-15
The four castes were emanated by Me, by the different distribution of qualities and actions; know Me to be the author of them, though the actionless and inexhaustible. Nor do actions affect Me, nor is the fruit of action desired by Me. He who thus knoweth Me is not bound by actions. Having thus known, our forefathers, ever seeking liberation, performed action; therefore do thou also perform action, as did our forefathers in the olden time.