Although there were righteous people prior to Moses, such as Noah, Abraham, and Joseph with whom the Almighty had frequent verbal communication, we do not read that any one of them was ever inspired to write anything for God.
29 Du sot den Abraham: ’Si hunn de Moses an d’Prophéiten; op déi sollen si lauschteren!’