A dog is for life, no matter what, unless you really really can't keep it, moving etc where no pets allowed I would say stick with it, its not got long left now and would much prefer to spend its last quality days with someone it loved and trusted....
Just my 2 penith
Hope it works out in the end.
Cheers