It’s not the cargo trains that make the system worse, it’s the prioritization of cargo over passenger rail along with lack of investment. If they spent even half the money on rail that they do on automobile roads we’d have one hell of a good rail system.
The highway system costs 200-400 billion dollars a year split between state and federal government.
Meanwhile Amtrak gets about 1.5 billion dollars from the federal government.