expression

To have a good innings.

Theme: life Keyword: play

means

To have enjoyed a long life or a long and successful period of activity (British informal).

Example

At ninety-six, she felt she had had a good innings.