William McKinley actually said...
We may laud and magnify His holy name that the cessation of hostilities came so soon as to spare both sides the countless sorrows and disasters that attend protracted war.
Context
Proclamation 426—Thanksgiving Day, 1898
10/27/1898