You are quoting a public figure, get in the habit of providing links. I found the reportage with that quote.
https://www.politico.com/news/2022/05/20/mcconnell-ukraine-republican-isolationist-00034110
“Inflation is rampant, the border is broken, baby formula shortages — all of these are real domestic issues,” Sen. Lindsey Graham (R-S.C.) said. “But the last time we allowed a maniac to rewrite the map of Europe, it led to World War II. So, learn from history. You have to do two things at once. Nothing gets better in America if Putin dismembers Ukraine and continues to march through Europe.”