The Enterprise is 50 years old. A complete overhaul would cost about half what a new carrier would cost.
And you would add, maybe, ten years to its life. A new carrier is good for the next 50 years.