Ok...whatever.
You just made my case.
The common belief in the Jewish community is that the first 5 books of the Bible were written while the Jewish people were in captivity in Babylon.
They had little to do so they decided to collect stories that had been passed down over the years and write them down.
So technically, the book you are quoting wasn’t even written for you...unless you are Jewish.
Now I DON’T believe that, but if we are going to be literal you have to consider that a possibility.
actually, no, they knew that the BOOKS OF MOSES were written by MOSES
Not in Babylon
so, whoever told you that doesn’t know the Bible, nor do they know history