Deuteronomy 34:8

And the children of Israel wept for Moses in the plains of Moab thirty days. So the days of weeping and mourning for Moses ended.

Surrounding context

34:7 Moses was one hundred and twenty years old when he died. His eyes were not dim nor his natural vigor diminished.

34:8 And the children of Israel wept for Moses in the plains of Moab thirty days. So the days of weeping and mourning for Moses ended.

34:9 Now Joshua the son of Nun was full of the spirit of wisdom, for Moses had laid his hands on him; so the children of Israel heeded him, and did as the LORD had commanded Moses.

Translation and sources