David rejoices in the majesty of the Lord in Psalm 8.  Psalm 58 is an expression of confidence in the justice of God, and in Psalm 108 he expresses his confidence in the faithfulness of God and his deliverance.

Psalm 8

1 LORD, our Lord, how majestic is your name in all the earth,
who has set your glory above the heavens!
2 From the lips of babes and infants you have established strength,
because of your adversaries, that you might silence the enemy and the avenger.
3 When I consider your heavens, the work of your fingers,
the moon and the stars, which you have ordained;
4 what is man, that you think of him?
What is the son of man, that you care for him?
5 For you have made him a little lower than the angels,*
and crowned him with glory and honor.
6 You make him ruler over the works of your hands.
You have put all things under his feet:
7 All sheep and cattle,
yes, and the animals of the field,
8 the birds of the sky, the fish of the sea,
and whatever passes through the paths of the seas.
9 LORD, our Lord,
how majestic is your name in all the earth!

Psalm 58

1 Do you indeed speak righteousness, silent ones?
Do you judge blamelessly, you sons of men?
2 No, in your heart you plot injustice.
You measure out the violence of your hands in the earth.
3 The wicked go astray from the womb.
They are wayward as soon as they are born, speaking lies.
4 Their poison is like the poison of a snake;
like a deaf cobra that stops its ear,
5 which doesn’t listen to the voice of charmers,
no matter how skillful the charmer may be.
6 Break their teeth, God, in their mouth.
Break out the great teeth of the young lions, LORD.
7 Let them vanish like water that flows away.
When they draw the bow, let their arrows be made blunt.
8 Let them be like a snail which melts and passes away,
like the stillborn child, who has not seen the sun.
9 Before your pots can feel the heat of the thorns,
he will sweep away the green and the burning alike.
10 The righteous shall rejoice when he sees the vengeance.
He shall wash his feet in the blood of the wicked;
11 so that men shall say, “Most certainly there is a reward for the righteous.
Most certainly there is a God who judges the earth.”

Psalm 108

1 My heart is steadfast, God.
I will sing and I will make music with my soul.
2 Wake up, harp and lyre!
I will wake up the dawn.
3 I will give thanks to you, LORD, among the nations.
I will sing praises to you among the peoples.
4 For your loving kindness is great above the heavens.
Your faithfulness reaches to the skies.
5 Be exalted, God, above the heavens!
Let your glory be over all the earth.
6 That your beloved may be delivered,
save with your right hand, and answer us.
7 God has spoken from his sanctuary: “In triumph,
I will divide Shechem, and measure out the valley of Succoth.
8 Gilead is mine. Manasseh is mine.
Ephraim also is my helmet.
Judah is my scepter.
9 Moab is my wash pot.
I will toss my sandal on Edom.
I will shout over Philistia.”
10 Who will bring me into the fortified city?
Who has led me to Edom?
11 Haven’t you rejected us, God?
You don’t go out, God, with our armies.
12 Give us help against the enemy,
for the help of man is vain.
13 Through God, we will do valiantly.
For it is he who will tread down our enemies.
The passages are from the World Messianic Bible.