Q. In the book of Revelation 22:18 it mentions the adding or replacing of things written in the Bible as big trouble. The books that where taken out of the Old Testament; like the Jubilees, Enoch, Gospel of Mary, etc., are these people who removed these books in big trouble?
Actually, the books you list were never “in” the Bible, in the way I would understand that, so they were never taken “out” either.
The canon of Scripture—that is, what books the Bible contains, as far as Christians are concerned—was determined over the course of several centuries. Eventually a consensus emerged about the 66 books that all Christians accept as divinely inspired and fully authoritative. Some specific groups of Christians accept further books as useful and edifying, and in some cases they include them within their Bibles, but in every case they make some distinction between them and the other 66 books. (See this post: Do different Christian communities really consider different books Scriptural?)
As for the books you list, Jubilees and Enoch are accepted as Scriptural by one small part of the Christian church. The Gospel of Mary (which would relate to the New Testament rather than the Old Testament) is not accepted as Scriptural by any part of the Christian church. So as I said, these books, and others like them, were never really “in,” so no one is in trouble for taking them “out.”
For more about the issue you are asking about, see these posts:
Can more books be added to the Bible?
Why were some books removed from the Bible and is it a sin to read them?
This is so helpful.. Thanks