God promises the wisdom we need to deal with trials