- What about the shores of Tripoli?
- Did I say Tripoli? I meant the halls of Montezuma.
- That's what you said.

6 seconds sound clip from the James and the Giant Peach (1996) movie soundboard.

You can hear this line at 00:45:58.118 in the Blu-ray version of the movie.

Quote context

[...]

- Where are we? What's going on?

- I found this dime-store Timmy asleep at the helm. Now we're lost.

- We are not lost!

- Then where are we?

- Somewhere north! Or possibly very, very far south.

- What's your latitude? What's your longitude?

- Hey, hey, hey! That's personal, bub.

- You said you could navigate!

- You said you'd traveled the world.

- You said you'd been to Bora-Bora.

- Well, not Bora-Bora, per se, uh...

- What about the shores of Tripoli?

- Did I say Tripoli? I meant the halls of Montezuma.

- That's what you said.

- Never have I heard such mendacity!

- You liar.

- Charlatan!

- Wait! If he says he's seen the world, then he's seen the world. Right, Mr. Centipede? Right?

- Well, I did used to live between two pages of a National Geographic.

- Very informative magazine, the National Geographic. Wonderful pictures.

[...]