To think you have succeeded, but in reality have failed.
This word originates from Wallace Spearmon who believed he won the bronze medal for the 100m but was actually disqualified.
Man, I thought I aced that exam. Turns out I failed. I just got Spearmoned!