In the US, money from gas taxes is used to fund non-road-infrastructure, but conversely money from other taxes is also used on road infrastructure. It seems like on the whole gas taxes and toll do not cover roads (see eg [1]).
[1] https://taxfoundation.org/gasoline-taxes-and-user-fees-pay-o...