Just an interjection, although John was writing the words of the prophecy he received, the prophecy he received was talking about different things in different times,… the words in Rev. 22:18 could also be inspired words that he received and also wrote down, meaning they may not be, as is easy to assume, his own personal notes at the bottom of the prophecy, they too, may be inspiration, and if so, then they may apply to more than just the prophecy John received, but may apply to the Bible, (although not already compiled) the Holy Spirit who inspired John’s Prophecy, knew the Bible would come into being in future.