Growing up, I was always told that the Bible was the inerrant Word of God. What is meant by this is that it is without error or fault in all of its teaching (see The Chicago Statement on Biblical Inerrancy). Without even getting into what is considered “correct” canon—as that is not even agreed upon—if something in Scripture says “God said,” then that means “God said.” And if something says “God did,” then that means “God did.” So, for instance, in Numbers 25, when the writer says that God said to Moses, “Take all the chiefs of the people, and impale them in the sun,” then that means this conversation happened just as it is written. God literally, at one point in history, commanded murder so that his anger can be assuaged. And then, when Phinehas does just as God commanded, he is given a peace covenant.