I hope the doctor can help your knee.

I am sorry to hear that the doctor blames everything on weight. You can point out that you have made progress and it takes time.
Good job on your weight loss and walking.

That's wonderful.
If you knee hurts - let it rest and concentrate on upper body while it heals.