Go through the mill
Go through great difficulties or hardship, surprisingly dates from the early 19th century, according to the OED. Therefore, one must assume the mill to be a textile mill from the Industrial Revolution rather than the ancient miller’s grindstone. See also run of the mill.