To hunger and thirst for righteousness is to desire the will of God. To mourn your sins is to avoid doing evil. They work together to make someone who is straightforward, or Salt of the Earth. Like those who endure persecution for the sake of righteousness and the clean of heart they are all driven by love of God.