The dog, to gain some private ends, Went mad, and bit the man.
"The Vicar of Wakefield" by Oliver Goldsmith, (Ch. 17), 1766.

The dog, to gain some private ends, Went mad, and bit the man.