? to all that can help

while playing in an online $5 sng this happens
i'm holding Qh Jh
OPP holding Kd Th
Flop Comes Kh 8h 2h
OPP goes all-in, I also
turn comes 4d
i'm looking good
river comes 9h
we both have flush K high, Pot is awarded to him and I'm OUT.... HOW IS THIS POSSIBLE.