I read somewhere that Freud and psychoanalysis became an issue only after electric lighting was a thing. Before that, it was argued, people got a lot more sleep.
(In fact, in the time before artificial lighting, it was common to speak of your “first sleep“ and your “second sleep“: People essentially slept two times a night. They went to bed at sunset. Then, they woke up for an hour or two around midnight, which apparently was used, everything being dark, for sex and contemplation. And then they fell asleep for a second time, until sunrise.)