I posted an answer that turns out to be incorrect.
Should I delete it or is leaving it useful as an example of a common mistake?
The answer currently has more votes than the correct answer, please consider upvoting the correct one.
I posted an answer that turns out to be incorrect.
Should I delete it or is leaving it useful as an example of a common mistake?
The answer currently has more votes than the correct answer, please consider upvoting the correct one.
I don't think there is any harm in leaving it in place, provided there is a suitably prominent indication of this fact. You could, for example, add a quote block at the top of the answer explaining briefly why it is wrong and pointing to @jmbejera's answer. That should catch people's attention.
The time you spent thinking about this can still be useful to the community.