In God's eyes, why you do something is far more important than what you do.
1 Samuel shows us it is quite possible to do the right thing but with the wrong attitude.
When you come to meet with God in a quiet time, you should have these proper attitudes:
Expectancy - Come before God with anticipation and eagerness. Expect to have a good time of fellowship with him and receive a blessing from your time together: "O God, you are my God, earnestly I seek you." (Psalm 63:1)
Reverence - Don't rush into God's presence, but prepare your heart by being still before him and letting the quietness clear away the thoughts of the world: "The Lord is in his holy temple; let all the earth be silent before him." (Habakkuk 2:20)
Alertness - Get wide-awake first. Remember that you are meeting with the Creator, the Maker of heaven and earth, the Redeemer of men. Be thoroughly rested and alert. Get to bed early so you will be in good shape to meet God in the morning.
Willingness to obey - Don't come to your quiet time to choose what you will do or not do, but come with the purpose of doing anything and everything that God wants you to do. Jesus said, "If anyone chooses to do God's will he will find out whether my teaching comes from God or whether I speak on my own." (John 7:17) Come to meet the Lord having already chosen to do his will no matter what.