Psalm 75 is God's answer to the prayer (of the remnant in great distress) in Psalm 74. Opposite the devastating onslaught of the wicked, the God-fearing remnant looks up to God. The supplication of Psalm 74, that God should arise to plead His cause (Psalm 74:22), is answered in Psalm 75. God stands up as Judge (Psalm 75:7).
The remnant bursts into praise because of what God is going to do (v. 1). Usually we give thanks to God for what He has done and given, but by faith the remnant, like Jehoshaphat in 2 Chronicles 20:21, give thanks to the LORD for what He is going to do. The repetition "do we give thanks" emphasizes the thanksgiving. God is the object of it.
The reason is that God’s Name is "near". This means that the moment is near when He will act in favor of His own and make His Name known on all the earth. It also means that God is near in their thoughts (Philippians 4:5). He is no longer the absent God as they experienced Him in the previous Psalm, where the Name of the LORD is blasphemed (Psalm 74:7; 10; 18).
To the chief Musician, Altaschith, A Psalm or Song of Asaph. Unto thee, O God, do we give thanks, unto thee do we give thanks: for that thy name is near thy wondrous works declare.
Psalms 75:2
When I shall receive the congregation I will judge uprightly.
Psalms 75:3
The earth and all the inhabitants thereof are dissolved: I bear up the pillars of it. Selah.
Psalms 75:4
I said unto the fools, Deal not foolishly: and to the wicked, Lift not up the horn:
Psalms 75:5
Lift not up your horn on high: speak not with a stiff neck.
Psalms 75:6
For promotion cometh neither from the east, nor from the west, nor from the south.
Psalms 75:7
But God is the judge: he putteth down one, and setteth up another.
Psalms 75:8
For in the hand of the LORD there is a cup, and the wine is red; it is full of mixture; and he poureth out of the same: but the dregs thereof, all the wicked of the earth shall wring them out, and drink them.
Psalms 75:9
But I will declare for ever; I will sing praises to the God of Jacob.
Psalms 75:10
All the horns of the wicked also will I cut off; but the horns of the righteous shall be exalted.