A Sheffield man has been banned from keeping pets for life after neglecting his dog who had to be put to sleep.