Micah - God; The Just and Merciful

God is perfectly just and must punish the guilty. But God is also full of mercy and offers forgiveness to all who repent and turn to Him with their sins. But how? How does get “get away” with that behavior? Chapter 5 tells of a Shepherd-King who is the answer to how God both executes justice and provides mercy.