A skilled yogi blossoms even while living in the three gunas, just as a lotus flower blossoms in muddy waters.

How Can I Become Detached? The detachment enables you to remain unaffected by the  changing, and temporary nature of the world.  However, trying to become detached can be a struggle, which may give rise to frustration, delusion, sadness, wrong knowledge, and anger in you. So, instead of trying to become detached try to remain unaffected. How much you get affected it is in your control. With abhyasa you can become better at it. A constant reminder and acceptance of this reality that 'all is changing and is temporary' would help you in becoming less and less affected by your attachments, and surely...