I’ve broken shift cables on bikes (2015 Roubaix, 2017 Boone) with poorly designed internal routing with relatively sharp radii around the BB with cable exits that act as a funnel to allow water and road crud to enter along with the cable ensuring shifting is nearly impossible well before 1000 miles. My bikes with exposed externally routed cables have lasted for thousands of miles.