The theme of verse 23 “to show partiality in judging is not good” is continued in these two verses. Here the focus is on how we choose to deal with “the guilty.”
Verse 24 says anyone who “says to the guilty, ‘You are innocent,’” is making a serious mistake. Anyone who does so “will be cursed by peoples and denounced by nations.”
This doesn’t seem to be a judgment from God, just the reality that others know what is right and wrong – and they will react to our decisions to excuse inappropriate actions. Especially in our day of social media, public reaction toward treating the guilty as innocent simply cannot be ignored!
On the other hand, verse 25 says “it will go well with those who convict the guilty.” People do appreciate those who take a stand for what is good.
In fact, the verse adds, “and rich blessing will come on them” – on those who convict the guilty. This might also come from people or it may have a special God-aspect to it.
Either way, we can set ourselves up for success by simply standing for what is right!