There is a relationship between how well one prepares for an exam by learning properly, and passing it successfully.
There is a relationship between a healthy lifestyle and a healthy body.
There is a relationship between the victory that Jesus has won on the cross and our eternal salvation.
And there is a relationship between our prayer life and the blessings that God can provide for us already here in this life.