All work and no play, makes Jack a dull boy.
James Howell (c. 1594 - 1666) Welsh historian and writer
Paroimiographia [Παροιμιογραφία], or, Old Sayed Sawes & Adages, “English Proverbs” (1659) [compiler]
(Source)
First recorded instance of this adage, though in context it predates Howell's collection.
The phrase was popularized for modern audiences by its use in Stanley Kubrick's film The Shining (1980) (the phrase is not in Stephen King's book; Kubrick used different adages in the different languages the movie was released in). That use, in turn, derived from the phrase being a common one for repetitive work in typing classes.
An additional line is given in Maria Edgeworth, Harry and Lucy (1801), where she refers to this as an "ancient British adage":All work and no play makes Jack a dull boy,
All play and no work makes Jack a mere toy.