If only they had been satisfied with what Allāh and His Messenger gave them and said, "Sufficient for us is Allāh; Allāh will give us of His bounty, and [so will] His Messenger; indeed, we are desirous toward Allāh,"1 [it would have been better for them].
Translation: Saheeh International (English)
1 Meaning "We desire Allāh and His grace and acceptance," or "We desire whatever Allāh wills to give us of His bounty."
If only these hypocrites who criticize you in the distribution of charity had been pleased with their portion that Allah had assigned for them and with what the Messenger gave them, saying: 'Allah is sufficient for us and He will grant us more from His Grace, and the Messenger will also give us from what Allah has given him, and we ask Allah alone to enrich us!'-had they said this it would have been better for them then criticising the Messenger.