The seven ages of man are infant, schoolboy, lover, soldier, justice, pantaloon and old age, facing imminent death.
Likewise the division of human life into a series of ages was a commonplace of art and literature.
Shakespeare would have expected his audiences to recognize.