Not an expert but from what I understand;
Hydroxychloroquine suppresses the immune system which is apparently beneficial if covid-19 causes an overreaction or cytokine swarm in your body.
But steroids, specifically dextramethasone also do that and are much safer with less side effects.
Does chloroquine provide additional medical benefits that the steroids don't? I don't know and wonder as well.