Why is there suffering if God is good and all-powerful?

Because God is committed to human freedom of choice, and we often do bad things rather than good. This is seen most clearly in politics and other power hierarchies, but we all break God’s moral code of law. One day he will put a stop to it. Wouldn’t you like help to be changed for the better?