Good on you. I also am inclined to thank doctors for curing cancer in someone close to me. It would be perverse to thank a god, especially since that same god let the cancer happen in the first place, and would have let it kill this person if doctors had not intervened. There's just no logic to it.