Only 3 states Delaware, Montana, and New Jersey raise enough revenue from cars to fully cover their highway spending.
The remaining 47 states and the District of Columbia must make up the difference with tax revenues from other sources
By diverting general funds to roadway spending, the burden of paying for the roads falls on all taxpayers, including people who drive very little or may not drive at all.
Source: https://taxfoundation.org/data/all/state/state-road-taxes-funding/
That’s exactly the point! You put in a dollar of tax dollars to get many dollars back in benefits (QOL, environmental, safer streets, lower healthcare costs, etc.).
The same can be said for cycling and other active transportation investments, they pay back society in benefits. The data (and here) is incredible.
Car-centric infrastructure does the opposite, and you are always losing money.