Yamamoto Tsunetomo said this quote

Meditation on inevitable death should be performed daily. Every day one should meditate on being carried away by surging waves, falling from thousand-foot cliffs, dying of disease.