Israel went to battle the Philistines but they weren't Spiritually ready for battle and lost. They blamed God. So in an effort to please Him, they get the Arc of the Covenant to pray to – a symbol of God. But, if our hearts aren't right we won’t really connect with Him.
One way to have a closer relationship with God is to do what Jesus did while He was on Earth. Jesus chose to take time to pray. In fact, the Bible says it was “His custom” to seek time with His Father. Jesus had His priorities in order. Now, it’s our turn! The level of Word you sit under determines the level of Word you live under. It’s not enough to get it right in our hearts, but also, to get it right in our heads.