Compassion is not only a feeling. It shows through assistance, respect, gentleness, and fairness. One may correct wrongdoing while remaining considerate; mercy does not mean approving injustice.
Example 1: A young student makes a mistake. Correcting it privately and constructively is better than publicly humiliating the learner.
Example 2: When someone is ill or vulnerable, offer appropriate help while respecting their privacy.
In إِلَّا مِنْ شَقِيٍّ, the word شَقِيٍّ is genitive after مِنْ. The moral focus is on cultivating one’s own character.