I will sing of kindness and justice to David. As it is written (Isaiah 5:16), "And the Lord of hosts will be exalted in justice." If in justice, then the Lord of hosts will be exalted in justice. If in righteousness, the Holy God will be sanctified in righteousness.
Rabbi Huna said in the name of Rabbi Acha, "If in kindness, I will sing. If in justice, I will sing. To you, Lord, I will sing praises." Rabbi Yehuda bar Shila said (Job 1:21), "The Lord gave, and the Lord has taken away."
Whether He gives or takes, blessed be the name of the Lord. In any case, to you, Lord, I will sing praises. Rabbi Berechiah said in the name of Rabbi Levi (Psalm 92:9), "You are exalted, Lord, forever." Your hand, Lord, is lifted high for justice.
Blessed be the good and benevolent One for the good, and concerning evil, one says, "Blessed be the true Judge." Rabbi Tanhuma bar Rabbi Yudan said, "One verse says (Psalm 56:11), 'In God I will praise His word,' and another verse says (Psalm 52:11), 'In the Lord I will praise His word.'" If judgment comes upon me, I will praise His word. If mercy comes upon me, I will praise His word.
In any case, I will praise His word. The rabbis said (Psalm 116:3-4), "The sorrows of death encompassed me, and the pains of hell got hold of me; I found distress and sorrow. Then I called upon the name of the Lord; 'O Lord, I beseech You, deliver my soul!'" I will lift up the cup of salvation, and call upon the name of the Lord. In any case, to you, Lord, I will call out (sing praises)....