Likely, you did not refuse to submit to the treatment simply to avoid the anticipated pain. Rather, you endured the pain in order to reap future healthful benefits.
पण तुम्हाला होणाऱ्‍या दुखण्यामुळे तुम्ही तो उपचार नाकारला नसेल.