The pony behaved well, sir, and showed no vice; but at last he just threw up his heels and tipped the young gentleman into the thorn hedge. He wanted me to help *him* out, but I hope you will excuse me, sir, I did not feel inclined to do so.

Do "him" and "pony" mean the same thing?
no