trading is safer because you can predict more things it not fully based on luck and that is with gambling the fact.
Just think about the reciprocal of your statement. For an instant result like earning big gambling would be the better option as there is no requirement of any skill and we could start gambling immediately. There are many people who just want to double their money and going for gambling but definitely they are not choosing trading.