They are joyful. It is God's will that you be happy. It is Gods will that you live in glorious harmony with all things and all people. But God created for this world a set of orderly principles and gave every one of us freedom to choose to do good or evil. So, it does happen on this earth that humans collide with natural forces and pain occurs.
People make sinful choices and pain occurs.
The pain is not God's will and God did not cause the pain. The pain is a result of circumstance. God will love you in that circumstance and will empower you and strengthen you. No matter how grievous the circumstance, God will give you the gift of thanks giving - because it is good for you. Victor Frankl, in his book, Man's Search for Meaning , writes of his habit of giving thanks during his imprisonment in a German concentration camp.