What Natasha said to Bernard Shaw made Bernard Shaw understand that no matter how much one has achieved, one can't boast. Everyone should be treated equally and always be modest.
Bernard Shaw, a (world-famous) playwright, was inspired by a (clever) little girl: no matter how much he achieved, one should not be proud.