a good innings

a good ˈinnings

(British English, informal) used about somebody who has died or who is at the end of their life or career to say that they have had a long life or career: He’s had a good innings but now it’s time for him to retire and let someone younger take over as director.
In cricket, an innings is the period of time that a team or a person spends batting (= hitting the ball). A good innings is one that lasts a long time and in which a lot of ‘runs’ (= points) are scored.
See also: good, inning