The second psalm is typically thought to be a Messianic prophecy. That is, it is thought to predict the coming of Christ, the strife of the nations against Him, and even His resurrection. I don't see that in the Psalm, the following is what I do see in it.
Psalms 2: 1 Why do the nations rage[a] and the peoples plot in vain? 2 The kings of the earth set themselves, and the rulers take counsel together, against the LORD and against his Anointed, saying, 3 "Let us burst their bonds apart and cast away their cords from us."
The nations of the earth war with each other because they war against the commandments of God. God is love, He is a Just King and has abounding mercy for those who repent. Nations and their leaders are often greedy, and power hungry. They burst away the cords that tie themselves to other nations, and strive on nationalistic sentiment. They take counsel from other rules, not seeking the face of God, but doing what they think is right in their own eyes.
4 He who sits in the heavens laughs; the Lord holds them in derision. 5 Then he will speak to them in his wrath, and terrify them in his fury, saying, 6 "As for me, I have set my King on Zion, my holy hill."
The real ruler of it all is the Prince of Peace, seated in heaven. Wrath will come to those rulers who war for Greed and more power.
7 I will tell of the decree:The LORD said to me, "You are my Son; today I have begotten you. 8 Ask of me, and I will make the nations your heritage, and the ends of the earth your possession. 9 You shall break them with a rod of iron and dash them in pieces like a potter’s vessel."
We are the children of God, and if we seek his face in earnest, he will provide that we need not strive to conquer foreign lands, but that in War, if you are just and trust in the Lord you shall not be destroyed and enemies shall fall.
10 Now therefore, O kings, be wise; be warned, O rulers of the earth. 11 Serve the LORD with fear, and rejoice with trembling. 12 Kiss the Son, lest he be angry, and you perish in the way, for his wrath is quickly kindled. Blessed are all who take refuge in him.
Follow The Lord, as the only wise king. Fear the Lord, and rejoice in him, and you shall not perish from the earth. Blessed are those who believe in and obey the Lord.