Learn the hard way by making mistakes others have made. Or, learn the easy way by avoiding the mistakes others have made.
In almost all the sciences each successive generation learns from those who have gone before. Math, physics, and computer science (my favorite!) have all benefited this way.
However when it comes to human behavior many rebellious generations think they know more than their predecessors so they throw out the old and bring in what they think is new. Funny though, it’s not new. It’s been tried so many times before and failed each time.
If you want to learn the easy way just take Sherem’s experience of challenging God’s word and avoid the mistake he made.