Yes, during the Jaya Arc of One Piece.
When Luffy was a kid, he got mad at Shanks for not fighting back, but he eventually learned how and when you should fight and when you should just ignore someone. In Jaya, he applied that when Bellamy laughed as dreams, though he returned to beat him after Bellamy beat up one his new friends.
There were many times I've felt like socking it to someone for different reasons, and trying to apply "turn the other cheek" was becoming difficult for me. Yet, somehow, seeing it applied (even if it was fake), showed many how it was alright to fight for others in need, but no need if there's nothing they can do to you.
(Hope that makes some sense.

)