And incidentally, the Lord is the best teacher, not “mistakes of the past.” That casts wisdom in a humanistic light if we are not very careful.
Romans 15:4 For whatever was written in former days was written for our instruction, that through endurance and through the encouragement of the Scriptures we might have hope.
1 Corinthians 10:11 Now these things happened to them as an example, but they were written down for our instruction, on whom the end of the ages has come.