This is not at all true from a yogic perspective. The original aim of yoga (with all eight parts, not just the asanas but also breathing, healthy eating, right behaviour, internal cleaning, etc) is to make the body so healthy that you don't have to worry about it. Then you can work with your mind to address your samskaras, etc and work towards a deeper understanding of reality and self up to enlightenment.