Your husband is being hurtful, inconsiderate and selfish.
Keep the bike, ride the bike, lose the weight...and then (if your husband continues to give you grief) find someone who will be more supportive of your health issues and of your efforts to take care of yourself.
I know, I speak from personal experience. BTW, cycling is a wonderful exercise for your health issues. In the past 6 years I have lost 60 pounds, lowered my A1c and at my last check up, my cholesterol levels are so low that my doctor took me off statins...completely!
Good luck and ride safely (and take care of your heart, both physically and emotionally)