I found the following A. W. Tozer article very enlightening! If we would pray rightly then we must pray honestly like the Bible characters, especially the Psalmist. I am copying the whole article. It is worth it.
The saintly David M'Intyre, in his radiant little book, The Hidden Life of Prayer, deals frankly, if briefly, with a vital element of true prayer which in our artificial age is likely to be overlooked.
We mean just plain honesty.
"Honest dealing becomes us," says M'Intyre, "when we kneel in His pure presence."
"In our address to God," he continues, "we like to speak of Him as we think we ought to speak, and there are times when our words far outrun our feelings. But it is best that we should be perfectly frank before Him. He will allow us to say anything we will, so long as it is to Himself. ‘I will say unto God, my rock,' exclaims the psalmist, ‘why hast thou forgotten me?' If he had said, ‘Lord, thou canst not forget. Thou hast graven my name on the palms of thy hands,' he would have spoken more worthily, but less truly.
"On one occasion Jeremiah failed to interpret God aright. He cried as if in anger, ‘O Lord, thou hast deceived me, and I was deceived.' These are terrible words to utter before Him who is changeless truth. But the prophet spoke as he felt, and the Lord not only pardoned him, but met him and blessed him there."
Another spiritual writer of unusual penetration has advised frankness in prayer even to a degree that might appear to be downright rudeness. When you come to prayer, he says, and find that you have no taste for it, tell God so without mincing words. If God and spiritual things bore you, admit it frankly. This advice will shock some squeamish saints, but it is altogether sound nevertheless. God loves the guileless soul even when in his ignorance he is actually guilty of rashness in prayer.
The Lord can soon cure his ignorance, but for insincerity no cure is known.
The basic artificiality of civilized human beings is hard to shake off. It gets into our very blood and conditions our thoughts, attitudes, and relationships much more seriously than we imagine. A book on human relations has appeared within recent years whose underlying philosophy is deception and whose recommended technique is a skillful use of flattery to gain desired ends. It has had an unbelievably wide sale, actually running into the millions. Of course its popularity may be explained by the fact that it said what people wanted to hear.
The desire to make a good impression has become one of the most powerful of all the factors determining human conduct. That gracious (and scriptural) social lubricant called courtesy has in our times degenerated into a completely false and phony etiquette that hides the true man under a shimmery surface as thin as the oil slick on a quiet pond. The only time some persons expose their real self is when they get mad.
With this perverted courtesy determining almost everything men say and do in human society, it is not surprising that it should be hard to be completely honest in our relations with God. It carries over as a kind of mental reflex and is present without our being aware of it. Nevertheless, it is extremely hateful to God. Christ detested it and condemned it without mercy when He found it among the Pharisees. The artless little child is still the divine model for all of us. Prayer will increase in power and reality as we repudiate all pretense and learn to be utterly honest before God as well as before men.
A great Christian of the past broke out all at once into a place of such radiance and victory as to excite wonder among his friends. Someone asked him what had happened to him. He replied simply that his new life of power began one day when he entered the presence of God and took a solemn vow never again to say anything to God in prayer that he did not mean. His transformation began with that vow and continued as he kept it.
We can learn something there if we will.