The Doctrine and Covenants is a problem solver.
Every section in it resolves a problem or a dilemma. Joseph Smith learned as a youth that when he
had a dilemma he could not resolve, he could ask God in faith and be answered, not upbraided (Joseph Smith-History (Joseph Smith-History, 1:10-19).
In the case of D&C section 1, the problem was how to preface the Book of Commandments.
By November 1831, Joseph had dictated dozens of revelation texts. John Whitmer had hand-copied many of them into the Book of Commandments and Revelations. The missionaries and their converts needed copies. So Joseph gathered a group of elders at the Johnson’s home in Hiram, Ohio, and together they determined to publish the revelations in a book: The Book of Commandments.
Every book needs a preface to guide readers and tell them what the author intends.
A committee of the church’s best writers drafted a preface for the book. It was not suited to the purpose of introducing the Lord’s latter-day revelations. So the Lord revealed what he called “my preface to the book of my commandments” (D&C 1:6). Joseph sat down near a window and dictated it slowly as Sidney Rigdon wrote it down.
So what does section 1 say about what the Savior intends to accomplish by giving the latter-day revelations?
It tells why the Lord opened the last dispensation. He saw the consequences of broken covenants. People had “strayed from his ordinances,” gone their “own way,” and created their own gods. Calamitous judgments were therefore inevitable and imminent. Knowing all that, the Lord desired to spare as many people as wanted to be spared by inviting all people to repent and return to him. So he called and authorized Joseph Smith and others so “that mine everlasting covenant might be established,” the living Church of Jesus Christ restored, and his gospel taken to all people everywhere.
In section 1 the Lord applies the ancient archetype for wickedness—Babylon—to the world of Joseph Smith and the earliest saints.
The Savior’s restored church is the way out of Babylon. The Lord is pleased with his church and its mission, which is not the same as being pleased with all of its members. (Keep reading the D&C for evidence that the Lord is not always pleased with all saints.)
Section 1 was not the Lord’s first revelation to Joseph.
It belongs at the beginning of the Doctrine and Covenants because it outlines the Lord’s purposes for all the subsequent sections. When Joseph finished dictating and Sidney Rigdon finished writing, the problem was solved. The Book of Commandments now had a preface that was equal to the task of introducing the Lord’s latter-day revelations.