When we face problems in life, sometimes we don't know what to do, and sometimes we just don't want to do those things. God has made it clear many of the things we should be doing, even if we don't find in His Word details on which car to buy, who to marry, or how to invest our savings. When we do what He says though, it gets us closer to those details.
Exodus 20
The rules are there so you know what to do even when you don't want to.