Daniel finished up this prayer with a demand that the Lord God act right away and not delay. He wanted God to see and listen to his prayers and supplications, not because of their righteousness, but for the sake of his name and his great mercy. He wanted God to see their desolated sanctuary. He wanted God to see what was happening to the city that bore his name. He wanted God to see, hear, listen, forgive, act, and not delay.
Yahweh was upset that the righteous turned away from their righteousness. They committed iniquities so that they would die. In case there was any doubt, Yahweh, via Ezekiel, repeated this death threat twice.
What happens if the righteous turn away from their righteousness, will they live? If they commit iniquity and do abominable things like the wicked do, will they live? None of their righteous deeds would be remembered. The guilty treacherous sins that they committed will bring them death.
The righteous are not afraid of bad news. Their hearts are firm and secure in Yahweh so that they are not afraid. In the end they will triumph over their foes. They distribute to the poor so that their righteousness endures forever. They will have the horn of plenty as their honor just like a plentiful harvest.