The mathematically correct answer totally depends on the difference in tax rates between when you put the money in today and what you project your tax rates will be when you pull the money out. The most difficult part of working that out is projecting what your tax rates will be when withdrawing. Total tax rates in retirement include things like ACA subsidies (a potential "reverse tax") and effects on SS taxability. It involves a lot of uncertainty projecting any individual's future tax rates.
It is important to remember that it isn't useful to compare how much money you pay in taxes. By virtue of compounding, Traditional results in eventually paying more $$ in taxes, but it also results in a bigger nest egg to pay taxes from. The important number is how much money is left for you to spend after-tax. not in how many $$ the government gets. A lot of people get hung up on the total aggregate tax bill and forget to focus on what they get to spend after tax.
If you are saving more than the 401K qualified contribution limit, there are savings options that are Roth only. "Backdoor Roth" and mega-backdoor Roth" are ways available to some people to get additional savings above traditional contribution limits into tax advantaged Roth accounts. HSA's can be considered as a "super Roth" if used for long term retirement savings strategies. For upper earner/savers, the rules and iimits result in accumulating a mix of Roth and traditional. Also as was already mentioned, the employer match is always in traditional whether the individual elects Roth or traditional for their contributions.
It is common for those who retire early to have the time between retiring and starting retiremt income sources like SS, RMD's and pensions as a low tax period where Roth conversions are advantageous. If you intend to retire and start living off savings prior to traditional retirement age, potential Roth conversions under lower tax rates are an additional complication in modelling.
Most people get more benefit from traditional contributions. Which is another way of saying that overall tax rates decline in retirement for most people. For the median case though, the difference isn't big.