“Against all odds” is a phrase used to describe a situation where something has been accomplished despite seemingly insurmountable challenges or obstacles. It means that the outcome was achieved despite the odds being heavily against it.
For example:
if someone overcomes a difficult illness or injury and makes a full recovery, it could be said that they did so “against all odds.”
Similarly, if a sports team wins a game despite being heavily outmatched, they could be said to have achieved victory “against all odds.”
source