The point here is actually simple: not reject the Ni'mah, nor claim ownership over it. Let's say someone praised you in the face (which is disliked and prohibited in the hadith btw): "Br John MashAllah you are such a pious man!" You can answer by saying something like: "All goodness is from Allah, it is not mine." Or you can recite the following verse: "Any good thing that happens to you comes from Allah. Any bad thing that happens to you comes from yourself." (An-Nisa, 4:79)