1 Main-sequence stars remain stable for billions of years as outward pressure from nuclear fusion balances gravitational collapse.
“the outward pressure of the heat generated by nuclear fusion counteracts the force of gravity the star is now called a main-sequence star and it stays in this state for between 10 million and 10 billion years”