For an invention to be novel, one of its composing elements must be different from an already-existing invention that serves the same purpose in the field, which require reviewing all the invention already existing in addition to reviewing all the patent application as well.
If your invention was described before in a publication it can't meet this requirement, unless you describe it in a publication at least one year before filing the patent application.