> How many people who were living in the 1700s do you think sat around thinking life is a farce?
The name for this view of the universe is "absurdism". It was first espoused, as far as I can tell, when the discourse of Qohelet was recorded in the book of Ecclesiastes. So yes, they had it in the 1700's although perhaps not by that name.
> If you're working every day in a coal mine so you can feed your children otherwise they will go hungry, then you don't have these kind of thoughts.
This is almost the opposite of the truth. Those with careers that do not occupy their minds do not sit around with their brains idling and empty all day. They spend much of that time thinking about exactly this sort of thing.
Note, I didn't say "no people" thought this way. Just that very, very few people thought this way, which is absolutely accurate.
Unless you thought most people in the 1700s were sat around smoking cigarettes in cafes discussing the absurdism of life?