You can use all or nothing
that either something must
be done fully
and completely or else it cannot be done at all.
Either he went through with this thing or he did not; it was all or nothing.
COBUILD Advanced English Dictionary. Copyright © HarperCollins Publishers