Who wrote the historical books of the bible