If there’s no real self, who is compassion for? For the beings that confusion makes up, since they still suffer. Seeing things as empty doesn’t deny what you see and hear. It removes the belief that they are solid, and that belief is what causes the pain.