Drug discovery is a laborious process, often involving a significant degree of trial and error in a medicinal chemistry lab.
Many of the best drugs were discovered with an element of luck, but getting lucky is not a reliable strategy.