God has no pleasure in the death of the wicked. The death of the wicked is justified and God is a just God. Therefore justice indeed glorifies God.
*Ezekiel 33:10-13*
“And you, son of man, say to the house of Israel, Thus have you said: ‘Surely our transgressions and our sins are upon us, and we rot away because of them. How then can we live?’ Say to them, As I live, declares the Lord God, I have no pleasure in the death of the wicked, but that the wicked turn from his way and live; turn back, turn back from your evil ways, for why will you die, O house of Israel? “And you, son of man, say to your people, The righteousness of the righteous shall not deliver him when he transgresses, and as for the wickedness of the wicked, he shall not fall by it when he turns from his wickedness, and the righteous shall not be able to live by his righteousness when he sins. Though I say to the righteous that he shall surely live, yet if he trusts in his righteousness and does injustice, none of his righteous deeds shall be remembered, but in his injustice that he has done he shall die.
*Ezekiel 34:11-24*
“For thus says the Lord God: Behold, I, I myself will search for my sheep and will seek them out. As a shepherd seeks out his flock when he is among his sheep that have been scattered, so will I seek out my sheep, and I will rescue them from all places where they have been scattered on a day of clouds and thick darkness. And I will bring them out from the peoples and gather them from the countries, and will bring them into their own land. And I will feed them on the mountains of Israel, by the ravines, and in all the inhabited places of the country. I will feed them with good pasture, and on the mountain heights of Israel shall be their grazing land. There they shall lie down in good grazing land, and on rich pasture they shall feed on the mountains of Israel. I myself will be the shepherd of my sheep, and I myself will make them lie down, declares the Lord God. I will seek the lost, and I will bring back the strayed, and I will bind up the injured, and I will strengthen the weak, and the fat and the strong I will destroy. I will feed them in justice. “As for you, my flock, thus says the Lord God: Behold, I judge between sheep and sheep, between rams and male goats. Is it not enough for you to feed on the good pasture, that you must tread down with your feet the rest of your pasture; and to drink of clear water, that you must muddy the rest of the water with your feet? And must my sheep eat what you have trodden with your feet, and drink what you have muddied with your feet? “Therefore, thus says the Lord God to them: Behold, I, I myself will judge between the fat sheep and the lean sheep. Because you push with side and shoulder, and thrust at all the weak with your horns, till you have scattered them abroad, I will rescue my flock; they shall no longer be a prey. And I will judge between sheep and sheep. And I will set up over them one shepherd, my servant David, and he shall feed them: he shall feed them and be their shepherd. And I, the Lord, will be their God, and my servant David shall be prince among them. I am the Lord; I have spoken.