Official: Israel unprepared for wartime