The capacity to bend without breaking. Flexibility is not weakness; it is what survives a load rigidity would snap under.
Latin flectere (to bend), via flexibilis (that may be bent); what survives a load that rigidity would snap under.
What survives a load that rigidity would break under: not weakness, but the capacity to bend and hold.