Cricket

A British phrase “good innings” was inspired by cricket.

An excerpt from the article 23 facts about cricket
It is used to describe a deceased who had lived a long and successful life.