Earlier quoted context omitted.
The patent is invalid if prior art exists,so publishing it is enough to avoid it being poached by others
But doesn't the patent office only look at previous patents when searching for prior art? Of course, other sources of prior art can be brought in as a defense, but it still may not stop someone from getting a patent initially and using it to harass financially weak opponents.
However, IANAPL and IANAPE.