You’re going to have all kinds of problems trying to follow God’s will. You can definitely learn from hard knocks. I certainly have. But I don’t recommend it. There is a better way. You can learn from somebody else’s hard knocks.
This is exactly what the Scripture has to say:
Now these things were our examples, to the intent we should not lust after evil things, as they also lusted.
[7] Neither be ye idolaters, as were some of them; as it is written, The people sat down to eat and drink, and rose up to play.
[8] Neither let us commit fornication, as some of them committed, and fell in one day three and twenty thousand.
[9] Neither let us tempt Christ, as some of them also tempted, and were destroyed of serpents.
[10] Neither murmur ye, as some of them also murmured, and were destroyed of the destroyer.
[11] Now all these things happened unto them for ensamples: and they are written for our admonition, upon whom the ends of the world are come.
1 Corinthians 10:6-11