So sorry to hear that time has come for you. Pets are awesome but it’s a trying time when their health fails. It sounds like he had a very full and loving life, take some solace in that.
My only recommendation would be to not immediately replace him as the temptation will be to fill that hole. Allow yourself whatever time you need to properly grieve and then be able to fully welcome a new friend.