Jephthah's greatest victory takes place at the same time as his greatest failure. What lessons should we learn from his great mistake?

References: Judges 11:29-40, Genesis 22:1-19, 2 Kings 16:2-3, & 1 Corinthians 3:1-2