>the average star will last over five trillion years.
Stars live different lengths of time, depending on how big they are. A star like our sun lives for about 10 billion years, while a star which weighs 20 times as much lives only 10 million years, about a thousandth as long.
https://www.livescience.com/32319-how-long-do-stars-live.html