This must be a slip of the pen. [The sentences have clearly got transposed, and we should read “not only good when He confers favours, but also when He chastises.”—Ed.]