Hippocrates said this quote

Both sleep and insomnolency, when immoderate, are bad.