What is in our hearts when we pray has more effect on whether our prayers are answered than the actual prayer itself. That's why, when we come before God to pray, He asks us to first confess anything in our hearts that shouldn't be there. He does that so nothing will separate us from Him.