How does God works?

Here's how God works. When these comforting emotions, or signs of his grace, are absent, you learn patience. When they're present, your spirit is nourished by joy, and grow. Together, these twin experiences teach you much. You learn to bow to every situation, happy to obey the demands or spiritual maturity and your union with God's will. This is perfect love. You will eventually reach a point where you no longer care whether you experience the absence of these pleasant feelings or their presence. Always accepting God's will, even when these graceful emotions are absent, you will be just as happy and just as joyful then as you would be if they were with you every moment of every day of your entire life.

--unknown source