Do jockstraps help prevent hernias?

I know jockstraps can hold protective cups and they support your balls so they don't get sore but I often hear they prevent hernias when lifting or running. Is this true?
Do jockstraps help prevent hernias?
Post Opinion