Within the Raja Yoga philosophy, God is one who is in the highest consciousness, who knows things in total clarity. As a result, He experiences richness of the heart, richness of the head, that is, complete wisdom, full love, bliss and contentment. He is free from anything inauspicious, in an absolute way.
The effort is to know that high consciousness and to experience it. A description of Raja Yoga is that you see what God sees, you know what God knows, you think the way God thinks and you feel the way God feels.
What does He know and how does He remain in that richness of head and heart? How is it possible for anyone, whether God or an ordinary mortal, to be free from anything inauspicious; free from sorrow and complaints? How is it possible for anyone to be able to love everyone, forever, regardless of their actions?