Whatever knowledge and wisdom you gain in life will be followed by any hardship or danger - if you have ever made a mistake then you will understand - man can only learn from the mistakes of his actions and increase intelligence but not by eating horlicks
He does not mean that you will willingly get into danger or make mistakes and learn and grow in wisdom. we have talked about the mistakes that happen suddenly and the dangers that come naturally
Remember: make your own mistakes and learn from them and grow wiser and it is wise to learn from the mistakes above so always keep your eyes and ears open and try to know how people get into danger by making mistakes