“This is the confidence we have in approaching God: that if we ask anything according to His will, he hears us.” (I John 5:14)
God promises that He will give us everything we ask for as long as it is according to His will. So in order to have an effective prayer life we need to change our will to be more like God’s. We need to ask Him to expose and eliminate the sin in our heart (Psalm 51:10). Many times we will discover, in the end, that we do not need the thing we are praying for. Instead, we need to change our hearts so that we do not want it.