But David did not falter in his love for God, nor did he doubt God's love for him. In fact, in Psalm 2, David expressed his understanding of the hearts of those who were against him. He knew that the rebels had set themselves against him, wanting to be free of his leadership. They hated David as king and wanted nothing more than to be out from under his authority. They conspired together on how to usurp him, but David also knew that their efforts were in vain.
David had been anointed by God. His kingship had been established by God, and it was God that held him. While there were those who could deny his kingship, no one could remove him from the throne because God had placed him there. And God Himself had spoken to David, and promised him this, confirming His love for him: “I will declare the decree: The LORD has said to Me, 'You are My Son, today I have begotten You.'” (Psalm 2:7) It didn't matter what the nations said against him. God thought of him as a son, and He had made him king.
Yet the affirmation David received from God in Psalm 2 was a foreshadowing of the affirmation that God was going to give another, One who was His true Son.
Jesus of Nazareth was not the king that Israel expected, but He was sent by God nonetheless. In fact, Jesus was the Son of God, just as had been prophesied throughout the history of the Israelites. Jesus knew who He was and where He came from. But God knew that Jesus needed to be affirmed by His Father. So when Jesus met John the Baptist at the Jordan River, God took the opportunity to give that affirmation: “And the Holy Spirit descended in bodily form like a dove upon Him, and a voice came from heaven which said, 'You are My beloved Son; in You I am well pleased.'” (Luke 3:22)
And yet this was not the only time God acknowledged Jesus as His Son. When Jesus took Peter, James, and John to the mountain, He became transfigured before them. Moses and Elijah appeared with Him, and they spoke together of Jesus' death. It was at this point that a cloud appeared, surrounding Jesus and His disciples: “And a voice came out of the cloud, saying, 'This is My beloved Son. Hear Him!'” (Luke 9:35)
In a world that was going to reject Him to the fullest, and send Him to His crucifixion, no greater words of comfort could be spoken than these loving words of His Father in heaven. Jesus was doing the will of His Father, and He knew that His Father was pleased with Him, and that He loved Him. Despite the suffering that He was about to partake, there was no doubt in Jesus' mind that He was the Beloved Son of God.