In prayer we present requests, sometimes repeatedly, and then put ourselves in a state to receive the result. We pray for what God wants to give us, which may turn out to be good gifts or it may be the Holy Spirit. (From God’s viewpoint there is no better response to persistent prayer than the gift of the Holy Spirit, God’s own self.)