It is fine to be greedy as a beginner in gambling, you probably don't have any idea about gambling and you think it's going to be easy.
It's stupidity when you have lost a lot of money and you learnt nothing from that only to end up hoping that one day you will win big money, even when you end up getting lucky your losses might still be more than what you just won.