This has not been proven. A recent study funded by the U.S. National Institute of Health and carried out through the Harvard School of Public Health, the University of California in San Francisco, Brigham and Women’s Hospital and Harvard Medical School looked at the link between eating two and a half eggs or more per week to lethal forms of prostate cancer. The results were not definitive.
Conversely, it has also not been conclusively proven that you can prevent prostate cancer through diet, but eating a healthy diet with a variety of fruits and vegetables can improve your overall health.