All those things that happened to our ancestors long ago are examples for us. Moses wrote those things to warn us who are living at this time which is near the end. We are the people for whom God has done the things that he decided to do in the previous periods of time.