I disagree. True, the Spanish-American War brought America out of obscurity on the world scene to be sure, WW1 more so, but it was WW2 that sealed the deal.
In Europe, America was instrumental in defeating Hitler and Musso, even so on the eastern front - by sending supplies to support Russia. In the Pacific, America was again instrumental in defeating Japan. Almost single-handed so.
There is no way America’s victory in the Philippines in the Spanish-American war, can compare with America’s victories in the Philippines and throughout the Pacific in WW2. Not to mention Europe.
America emerged a true super power after WW2.