Based on BM treatment modality, the Surgery + WBRT groups achieved the highest OS across three BC subgroups at 33.35 (24.48–40.87), 48.85 (10.41–), and 15.8 (6.31–21.98), in the HR( +)/HER2( − ), HR( − )/HER2( +), and HR( − )/HER2( − ) subgroups, respectively. Here, ERBB2 is linked to breast cancer.