the luck of the draw
US /ðə lʌk əv ðə drɔː/
UK /ðə lʌk əv ðə drɔː/

1.
success or failure that is decided by chance and not by skill or effort
:
•
It's just the luck of the draw whether you get a good team or not.
•
Some people get better opportunities, but that's just the luck of the draw.