It was by faith that Joseph spoke about the Israelites leaving Egypt while he was dying. He told them what to do with his body.