To be fair, the book was most likely not written by the actual Moses. Most believe it's a compilation from several priestly writings. But it's definite silly sounding.
The Bible and other religious texts have a lot of accumulated wisdom in them. I think of them as the Wikipedias of their time, edited by everyone, partly useful information, partly full of shit, accepted uncritically by the more naive
Interesting but I disagree. Basically the entire Old Testament is edited and to enforce a certain interpretation of the Israelites' history, namely that turning away from God caused bad things to happen. It has a fairly consistent and coherent agenda.
I would love to talk about that more. It's been a long time since I have read the Old Testament. I meant to buy the "Five Books of Moses" translation a few years back.