4080 or 7900 XTX

If both was the same price, what is the best card to buy? Dont want to have to upgrade in 2-3 years.