The first set of Scriptures was given by Moses to the children of Israel as they crossed the Jordan into the promised land. It was the Torah, the first five books of Moses. There were no other books as we know the Bible to be today, just those five. God instructed Joshua to study those Scriptures and to learn their truths.
This book of th