A peasant once asked Ramakrishna, “I am a simple villager. In one sentence please tell how I can obtain happiness” Ramakrishna replied “Totally accept the fact that you are a machine operated upon by God.”
In the Gita Krishna says “All actions are done in all cases by the gunas (qualities) of prakriti (nature). He whose mind is deluded through egoism thinks I am the doer.”
The ego develops from the belief that we have free will.
The ego produces suffering.
The traditional Ashtanga sequence is the surrender of free will.