The Ten Commandments, which governed the life and worship of God's people, begin with the declaration of who God is and the commandments to worship God alone and no one or nothing but Him (Exodus 20:1-17). Worshiping anyone or anything other than the One True God was the incredible sin of idolatry that is forbidden throughout the Bible. But, Jesus freely welcomed them for being in error. Therefor, Jesus' acceptance of worship also proves that He was God.
Matthew 14:33 English Standard Version (ESV)
33 And those in the boat worshiped him, saying, “Truly you are the Son of God.”
John 9:38 English Standard Version (ESV)
38 He said, “Lord, I believe,” and he worshiped him.
Jesus Accepted Worship as God