That’s sad news. I haven’t had a pet in years. I never got one after the dog I was raised with died after I graduated high school. Pets can become a member of the family.
Just remember that because of his suffering, putting him to sleep was an appropriate decision. Sometimes people feel guilty about it.