I have been told that martingale end up with losing everything

People usually do because they don't quit whilst they're ahead and get greedy and keep going until they've lost it all.
The first bet that you win you are ahead. Most people will not quit after winning just one bet.
Try martingale on PD during Happy Hour and see how hard it is to get to 50K. I tried for 3 happy hours and finally succeeded only to have the autobet continue 7 more rounds and lose almost everything.