God does not just answer our prayers because we pray but rather more because of the relationship we have with Him. Just as every child is confident in whatever they ask of their earthly father that he would give unto them as they asked, likewise our heavenly Father grants unto us that which we ask of Him.