Jesus is God, yet He also took on a fleshly body as a man. He lived a perfect sinless life and died by being crucified on the cross as the way to pay the penalty for the sins of man. He rose from the dead showing His victory over death. In order for you to have peace with God and to have an eternal life with Him, you must repent of your sins and have faith in Jesus. There is no other way. The passages below are directly from the Bible. John refers to Jesus as ‘the Word’.
In the beginning was the Word, and the Word was with God, and the Word was God. He was in the beginning with God. All things came into being through Him, and apart from Him nothing came into being that has come into being. In Him was life, and the life was the Light of men. The Light shines in the darkness, and the darkness did not comprehend it.– John 1:1-5
… if you confess with your mouth Jesus as Lord, and believe in your heart that God raised Him from the dead, you will be saved; for with the heart a person believes, resulting in righteousness, and with the mouth he confesses, resulting in salvation. For the Scripture says, “WHOEVER BELIEVES IN HIM WILL NOT BE DISAPPOINTED.” For there is no distinction between Jew and Greek; for the same Lord is Lord of all, abounding in riches for all who call on Him; for “WHOEVER WILL CALL ON THE NAME OF THE LORD WILL BE SAVED.”– Romans 10:9-13