The nuances of nonsense: "idiocy" vs "stupidity"

What is similar?
Both "idiocy" and "stupidity" refer to a lack of intelligence, understanding, or common sense. They can be used to describe actions or behaviors that are perceived as foolish or senseless.
What is different?
"Idiocy" is often considered more severe and is an older term historically used to refer to a state of mental deficiency. It can carry a stronger connotation of inherent incapability. "Stupidity" is more commonly used in modern language to describe temporary lack of judgment or foolish behavior.
Which one is more common?

Examples of usage
Idiocy- The idiocy of risking your life for a dare is beyond comprehension.
- His actions were pure idiocy, showing no thought for the consequences.
- It's pure stupidity to leave your car unlocked in this neighborhood.
- She regretted her moment of stupidity when she realized the mistake.