Revelation 11:4 Verse 4 These are the two olive trees, and the two candlesticks standing before the God of the earth.Evident allusion is here made to Zechariah 4:11-14, where it is implied that the two olive trees are taken to represent the word of God. David testifies, "The entrance of Thy words giveth light;" and, "Thy word is a lamp unto my feet, and a light unto my path." Psalms 119:130; Psalms 119:105. Written testimony is stronger than oral. Jesus declared of the Old Testament Scriptures, "They are they which testify of Me." John 5:39.
Says George Croly: "The 'Two Witnesses' are the Old and New Testaments. . . . The essential purpose of the Scriptures is to give witness to the mercy and verity of God. Our Lord commands, 'Search the Scriptures, . . . they are they which testify [bear witness] of Me.' This was addressed to the Jews, and described the character and office of the Old Testament. The New Testament is similarly pronounced the giver of testimony. 'This gospel of the kingdom shall be preached in all the world for a witness unto all nations.' (Matthew 24:14.)" [1]
These declarations and considerations are sufficient to sustain the conclusion that the Old and New Testaments are Christ's two witnesses.
[1] George Croly, The Apocalypse of St. John, p. 164.