Jn 5:39, Jn 6:40, Jn 17:3

Jesus said that blessed are those who hear the word of God and keep it. (Lk 11:28)

Lk 11:28 But he said, Yea rather, blessed are they that hear the word of God, and keep it.

The Word of God is the Bible. And the Bible testifies of Christ. (Jn 5:39)

Jn 5:39 Search the scriptures; for in them ye think ye have eternal life: and they are they which testify of me.

To hear and keep the word of God is to believe in the One sent by God, Jesus Christ. (Jn 6:40, Jn 17:3)

Jn 6:40 And this is the will of him that sent me, that every one which seeth the Son, and believeth on him, may have everlasting life: and I will raise him up at the last day.

Jn 17:3 And this is life eternal, that they might know thee the only true God, and Jesus Christ, whom thou hast sent.