According to Osho, suffering follows a law: craving (lust, ambition, pleasure-seeking) breeds it, while dharma—awareness, meditation, right living—uses suffering to awaken and purify. Pain is the fire that polishes; pleasure dulls and makes one forget dharma, perpetuating bondage. Live dharma by consciously entering and learning from suffering, then stepping out—thus ending the craving that fuels the cycle.
Craving makes you hurt; dharma helps you learn from hurt and stop craving so the hurting ends.