Major Problems with game industry right now... Cost to make a game, and from that the repercussions if it fails.
Making an engine doesn't happen overnight, and then you need new Devs to learn that engine throughout its lifetime. Fine for a big player, but even a large company like CDPR had issues, hence moving.
It's a shame, but you can't write off engines like UE. Epic and the Coalition do incredible work with it. UE5 is still VERY new. Look at Fortnite and wait for the next Gears game. Even if the game is dull I'm sure it will be a showcase for UE5.
The opposite is also true. You created an engine already, why do you want a new one? Just add to the existing one. Starfield is not the only industry game working on legacy engines