After the death of Joshua, the next generation of Israel embraced false gods and forgot the Lord and all that He had done for them. We read this as a warning and a charge to tell our kids how great our God is and remind them of all He has done for us.