What is the primary guidance of “Do not despair of Allah’s mercy”?

Forgiveness of Shirk and Other Sins; Threats and Divine Mercy