小三下场闺蜜上场
[xiăo sān xià chăng guī mì shàng chăng]
Translating to ‘The mistress exits, the best friend enters’, it refers to replacing a problematic or inappropriate relationship with something better, typically more positive or loyal like a close friendship.