There are many instances of excellent freight and passenger rails systems all over the world. You have no idea what you're talking about.
I find that very unlikely and this link seems to contradict that: https://ec.europa.eu/eurostat/statistics-explained/index.php...
Another aspect that needs to be taken into account is that a large part (perhaps 40%) of any number you see on total tonnes of rail freight in Sweden, is made up of handful of short rail lines doing nothing but transporting iron ore from a few large mines to the nearest harbour.
You claimed that there were "many" countries that had both good freight and passenger rail, but have yet to come up with one. (Sweden isn't an example - its "good freight" service (mines to ports) is where there's insignificant passenger service.)