The phrase
against all odds means succeeding despite very low chances, a term originating from chances in betting. It highlights determination, luck, or both. People use it to describe surprising success.
Against all odds, the injured runner finished the race.