The Lord said, speaking to the early saints through Joseph Smith:
For he [God] will give unto the faithful line upon line, precept upon precept; and I will try you and prove you herewith. (D&C 98:12)
'Herewith' is an old word meaning 'with this.' In other words, by giving 'line upon line' and 'precept upon precept', God tests his people.
What does this mean? The Hebrew word translated as 'line' refers to a measuring cord; in this context, we could interpret that to mean a standard of worthiness. The word 'precept' means a mandate to act. Given these definitions, some scriptures take on additional meaning:
For behold, thus saith the Lord God: I will give unto the children of men line upon line, precept upon precept, here a little and there a little; and blessed are those who hearken unto my precepts, and lend an ear unto my counsel, for they shall learn wisdom... (2 Nephi 28:30)
This scripture is often used to describe the rate at which we receive revelation, but it also helps us know what that process is going to look like. We're not always prepared to receive what we're praying for (D&C 50:40), so God will give us commandments and standards until we're ready.
And I will bring the third part through the fire, and will refine them as silver is refined, and will try them as gold is tried: they shall call on my name, and I will hear them: I will say, It is my people: and they shall say, The Lord is my God. (Zechariah 13:9)