It is a requirement to obtain a patent that the patentee describe a "novel" invention. That is, a process, compound, method etc. that has not been described in published literature before.

It is not a requirement that the novel invention actually work.