proverb

Little thieves are hanged, but great ones escape.

punishment

expresses that

People who commit crimes on a huge scale are going often unpunished, because they have money and connections, whereas those who commit small crimes are always facing the full consequences of the law.