Nope.
It was a call back scene to the iconic film "Seven Samurai" by Akiro Kurosawa, where a village which is struck by poverty and is raided by bandits constantly, recruit 7 samurai to free their village from the bandits. In that film, since the village has no money to pay the samurai, they offer them a bowl of rice each instead. The Samurai accept that with gratitude since that is the only ration of rice in the entire village and then protect the village from the bandits.
The Yamato and Luffy scenes from Wano are a direct callback/inspired from that iconic scene from that film.
Atleast, learn what a scene signifies before you blindly hate on it and on a character for no reason.