The punishments of God can be expiatory, including the temporal punishment of death (CCC 1473:…While patiently bearing sufferings and trials of all kinds and, when the day comes, serenely facing death, the Christian must strive to accept this temporal punishment of sin as a grace…)
The Bible is filled with examples of such punishments and chastisements. Their good is summed up here:
Hebrews 12:
[5] And you have forgotten the consolation, which speaketh to you, as unto children, saying: My son, neglect not the discipline of the Lord; neither be thou wearied whilst thou art rebuked by him. [6] For whom the Lord loveth, he chastiseth; and he scourgeth every son whom he receiveth. [7] Persevere under discipline. God dealeth with you as with his sons; for what son is there, whom the father doth not correct? [8] But if you be without chastisement, whereof all are made partakers, then are you bastards, and not sons. [9] Moreover we have had fathers of our flesh, for instructors, and we reverenced them: shall we not much more obey the Father of spirits, and live? [10] And they indeed for a few days, according to their own pleasure, instructed us: but he, for our profit, that we might receive his sanctification. [11] Now all chastisement for the present indeed seemeth not to bring with it joy, but sorrow: but afterwards it will yield, to them that are exercised by it, the most peaceable fruit of justice.
Just to clarify a point:
What the poster seems to be objecting to is not the temporal death that awaits us all, or the discipline that God allows for our good, or even that God allows evil to be redeemed for good.
What he and most other skeptics of God’s love are objecting to is this:
The assertion that God literally wills and commands man on man violence to accomplish good, because “it says so in scripture”.
There is no contradiction in God, and so God cannot contradict God’s revealed nature. God’s full and absolutely final revelation is Jesus Christ. First word, Last word, and all words in between, Jesus is the key to scripture interpretation.
And in Christ we know that God does not need or desire our violence to accomplish his good will.