The only thing you did "wrong" was keep an old horse, and if that's wrong I hope you continue to be wrong. It happens. He never knew neglect or being forced to carry on working when he couldn't, instead he was loved and when he became ill he was allowed to escape the pain and go peacefully. You did no wrong.