While there are many different literary examples which relate to Voltaire's quote, "it is dangerous to be right in matters, about which the established authorities are wrong."
The first quote which came to mind is taken from Harper Lee's novel To Kill a Mockingbird.
The quote, spoken by Atticus Finch, is found in chapter eleven of Lee's novel.
"The one thing that doesn't abide by majority rule is a person's conscience."
This quote speaks to what Voltaire spoke to. Voltaire wants readers to know that just because the majority, or those in authority, state that something is correct does not mean it is correct for all.
In regards to Atticus' statement, he, too, finds that majority rule is not always correct when it comes to the mind of the individual.