President Donald J. Trump said: "From the beginning, this has always been a country sustained and strengthened by prayer."