The only one who didn't understand the circumstances of that moment was Sanji which is why he didn't trust in Luffy. Nami knew what was happening but she slapped Sanji because he should have never insulted Luffy's dream like that, regardless of his intentions. Nami is Luffy's left hand.

Dont you know that in order to defeat a Yonko and her entire army, with just half of your crew, and not even having your main combatant there with you, you just need to believe in the power of friendship?

I swear to God this "argument" just gets dumber every time I read it.
Bu-bu-but Robin did the same thing! He shouldnt have done the same thing!
Imagine that! Oda reusing the same plots devices! It's not like Oda ever repeats himself. Noooooooo. It's not like Dressrosa is Alabasta 2.0, or that Oda "kill" characters just to make them appear alive multiple times, or throw a sad flashback for every damn character that appears. Nooooooo. Not GODA, amirite?
And the funnier part is that their situations weren't even the same, just a little similar.
