The Bible often uses the same terms to describe aspects of God's nature as it does to destine aspects of the nature of God's law, such as with it being holy, righteous, and good (Romans 7:12), or with justice, mercy, and faithfulness being weightier matters of the law (Matthew 23:23), which is because it is God's instructions for how to partake in those aspects of His divine nature. Likewise, God's way is the way in which He practices aspects of His nature, such as righteousness and justice (Genesis 19:18) and there are many verses that describes God's law as being God's way, such as Deuteronomy 10:12-13, Isaiah 2:2-3, Joshua 22:5, 1 Kings 2:1-3, Psalms 103:7, Psalms 119:1-3, and many others. The Son is the exact image of God's nature (Hebrews 1:3), which he embodied through living in sinless obedience to God's law, so that is also the way that we live the he is living in us. Aspects of God's nature are the fruits of the Spirit, which is why the Spirit has the role of leading us to obey God's law (Ezekiel 36:26-27), so the Spirit does not lead us to do something other than obey it. God's law is God's word and Jesus is God's word made flesh, so again he is the embodiment of God's word and speaking about God's law is speaking about Jesus.