The Austrian and especially the Swiss railroad systems are far superior.
Since the "Bahnreform" of 1994 the infrastructure progressively deteriorated from the passenger's perspective. One hard fact: about 20% of the railroad network has been dismantled since 1994 (44.600km to 33.400km [1]). Way too much. Reasons for this are a confluence of excessive bureaucracy, brutal management style, powerful industry interests (think e.g. "Autobahn"), lobbying.
Today's "Deutsche Bahn" as an entity is split into eight distinct divisions [2]; DB Schenker (global logistics and freight transport company) is by far the most profitable of the bunch and single-handedly lifts the whole DB group out of the red on the regular basis, it accounts for about 50% of the total revenue.[3]
[0]https://m.youtube.com/watch?v=AGCmPLWZKd8
[1]https://www.allianz-pro-schiene.de/themen/infrastruktur/schi...
[2]https://ibir.deutschebahn.com/2021/en/group-management-repor...