I believe that the first way to avoid getting scammed is not being greedy and believing in something for nothing, secondly not seeking the easy way to achieving a great financial success.
The two things you have highlighted here are absolutely true because the stories behind people's destruction are mainly about greed and lust. Those who are greedier and want to own a lot of money quickly are the victims of fraud.
For this, if you can move forward without being greedy, maintain consistency, and do something slowly and understandably without expecting a lot of money in a short time, then something good will come from there.