The main clause of ~ないことには structure is always negative, i.e., the form must be A ないことには B ない, and the nuance is more close to "(can do) B only after/by A". So, you can't say 失敗しないことには負けない instead of 失敗しない限り負けない/失敗しなければ負けない, since "you can lose only after you fail" doesn't make much sense. 失敗しないことには強くなれない "You can become stronger only after you fail." is OK.