If you hold on to the experience of pain it wears you down and out. It leads to being a leaky bucket, loss of prana, loss of the capacity of making good decisions about your life and eventually a loss of health.
Or pain inspires you to sit down and question with discernment the true essence of your life. To become quiet to the Inner voice of higher wisdom guidance. To motivate yourself to move from a stuck place with courage and faith.To slice through anything that you are doing which blocks your well-being, consciously or unconsciously. To make choices that unburden you and set you free.
Than your body becomes a storehouse of Shakti.
This is a key of the subtle Tantrik Sadhana.