Will of God
Will of God. An expression that characterizes "desire," "decision," or "choice" of God that is directed towards His creation.
Will of God in the OT. In the OT the will of God has two subcategories: the will or desire of God to do something and the desire of humans to please God (i.e., to do the will of God).
Actions of God and the Will of God. The concept is synonymous with God's choice to do something. The psalmist describes Yahweh as an omnipotent and personal God who "does all that He pleases" (Ps 115:3). This affirmation of the unlimited power of Yahweh is closely connected with His loving-kindness and faithfulness towards humanity (Ps 115:1). The will of God, therefore, is closely connected with God's desire to do good and to see the people flourish. In other words, the ultimate desire of God is to redeem His people and deliver them from evil. As a response, the psalmist calls Israel to trust in Yahweh (Ps 115:9) since He is worthy of trust especially exactly because He is all-powerful in contrast to idols, which are simply "the work of human hands" (Ps 115:4).
In Psalm 135:6 the psalmist ascribes the ultimate power in the universe ("in heaven and on earth, in the seas and all deeps") exclusively to God and not to idols and/or gods of gentile pantheons. In this context, the power and the will of God is to sustain and maintain the created world.
Yet, at times, the actions of God may not be understood since they could lead to pain. In other words, God uses His power to teach and lead the nations to return to Him. For that reason, the book of 2 Kings portrays history as purposive with the will of God as history's main driving force. Thus even Israel's captivity by Assyrians was the will of God.
Therefore, the aspect of the will of God and His actions in the OT reveal the desire of God, first, to do good to humankind in His loving-kindness and in His faithfulness. Second, the will of God is to maintain and sustain His created world. Third, the will of God is presented as the purposeful direction of history that may not at certain points play out for the individual's good, but eventually, the purpose of God is realized and grasped.
Human Desire to do the Will of God. Beginning with Genesis the desire of "righteous" humans is often presented as desire to do the will of God. For instance, Abraham leaves his father's house and goes where God leads (Gen 12:1). Later, he goes on top of the mountain where he almost sacrifices Isaac because he wishes to do the will of God (Gen 22).
The early chapters of the OT present the patriarchs communicating with God almost directly and learning His will from God Himself. Later, however, the will of God was presented through the prophets (Deut 18:9-22; 2 Chr 34:22-28).
The law of God is also described and perceived in the OT and especially in Psalms (Ps 19) as the ultimate revelation of the will of God for humans. After all, the heavens declare the glory of God, but the law declares the will of God for humankind and God's created world.
Will of God in the NT. Building on the foundation of the OT, in the NT Jesus sets the ultimate example of what it means to do the will of God. The will of God is fully revealed by Jesus and at the same time Jesus is the one who also does the will of God.
Jesus and the Will of God. In Matthew 3:15 when John the Baptist refuses to baptize Jesus, Jesus states that this is how they can "fulfill all righteousness." In this case, "righteousness" (dikaiosynē) can also be translated as "what is required of us." In other words, righteousness is directly related to the idea of doing the will of God. So, Jesus manifests the will of God and becomes the example of what the will of God actually is. For that reason, Satan's temptations of Jesus in Matthew 4 are the attempts to steer Jesus away from doing the will of God.
It has already been pointed out that the ultimate revelation of the will of God for humans is the law of God. That is why Jesus offers to His disciples the teaching in the Sermon on the Mount as a manifesto of life in accordance with God's will (Matt 5-7). To do the will of God is to discern the true meaning of the legal rulings of Torah. Jesus's presentation of antitheses (Matt 5:21-48) calls for deeper understanding and more significant submission to the will of God. Matthew clearly presents living in accordance with the will of God as essential in the lives of the disciples (Matt 7:21; 12:50; 21:31). Therefore, the ultimate life of Jesus's followers is to do the will of God as Jesus Himself fully submitted to the will of God even to the point of death (Matt 26:42). Obedience to the will of God is so significant that it serves as a condition for belonging to the family of God's children (Matt 12:50; Mark 3:35). The imitation of Jesus is the realization of the will of God in the life of Jesus's followers (1 Cor 11:1). Paul understood it as he stated that suffering with the Messiah is the condition that leads to the glorification (Rom 8:17).
The Gospels present the abandonment of self-will and submission to the will of God that can lead to the cross as the ultimate fulfillment of the will of God in the life of any follower of Jesus. That is why the prayer that Jesus taught emphasizes the very will of God that should be fulfilled on earth as it is always fulfilled in heaven (Matt 6:10). In this context, the will of God is closely related with the kingdom language. Hence, the realization of the kingdom of God and the ruling of God directly correspond with the establishment of His will on earth.
Paul and the Will of God. The question that remains unanswered is in regards to prayer and the will of God: What place does prayer play in fulfilling the will of God? Paul was striving to do the will of God and he perceived prayer, in the same way as Jesus, as the declaration that testifies that there is a constant conflict between the will of God and the fallen world. Yet, prayer is the means by which the believer pursues to discern, affirm, and participate in doing the will of God against the evil of the world. That is why the believers are encouraged by Paul to pray "in the name of Jesus" (Eph 5:20), which constitutes living and praying in accordance with the one who embodied the will of God. For Paul as well as for Jesus, prayer is the means by which the will of the believer is tuned with the will of God.
References
Bracken, Joseph A. "God's Will or God's Desires for Us: A Change in Worldview?" Theological Studies 71.1 (2010): 62-78.
Porter, Jean. "Divine Commands, Natural Law, and the Authority of God." Journal of the Society of Christian Ethics 34.1 (2014): 3-20.