Chemical weapons were very useful in several battles in WWI, for example during the Battle of Caporetto [0]. Biological weapons were fortunately never used on a large scale, but SARS and COVID-19 showed how large an impact they could have. The effectiveness of Prions remains unexplored, and fortunately so. They appear to be a prime agent to deny an area for centuries.
The effectiveness of nuclear weapons does not need to be mentioned, as it forms the backbone of the modern strategic equilibrium between the major power blocks, backed by mutually assured destruction.
Similarly, the reason biological and chemical weapons were not widely used back then in WII (when nobody did exactly pull any punches otherwise) was that nobody wanted the other side to retaliate in kind![1] But the few times they were used they had been very effective, especially against heavily entrenched opponents.
[0]: https://en.wikipedia.org/wiki/Battle_of_Caporetto
[1]: https://en.wikipedia.org/wiki/History_of_chemical_warfare#Wo...