Ecuador (South America) borders the Pacific Ocean to the west. It also borders Colombia (north) and Peru (east/south). Many other countries (Chile, Peru, Colombia, Panama, Costa Rica, Nicaragua, El Salvador, Guatemala, Mexico, USA, Canada, Russia, Japan, China, Philippines, Australia, etc.) also border the Pacific, but Ecuador is a correct example.