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.