Work like a dog
An old simile for working very hard, like a sheep dog, or similar, who works tirelessly until the job is done, dates from the early 1700s.