If you are ON THE WRONG END OF a bad situation, e.g. a defeat, you are the person or side that suffers or loses.

In the picture: A goal from the blue team left the red team ON THE WRONG END OF a 1-0 scoreline.