Well now, you rich! Lament, weep for the miseries that are coming to you. Your wealth is rotting, your clothes are all moth-eaten. All your gold and your silver are corroding away, and the same corrosion will be a witness against you and eat into your body. It is like a fire which you have stored up for the final days. Can you hear crying out against you the wages which you kept back from the labourers mowing your fields? The cries of the reapers have reached the ears of the Lord Sabaoth.
On earth you have had a life of comfort and luxury; in the time of slaughter you went on eating to your heart’s content. It was you who condemned the upright and killed them; they offered you no resistance.

[Ἄγε νῦν οἱ πλούσιοι, κλαύσατε ὀλολύζοντες ἐπὶ ταῖς ταλαιπωρίαις ὑμῶν ταῖς ἐπερχομέναις. ὁ πλοῦτος ὑμῶν σέσηπεν καὶ τὰ ἱμάτια ὑμῶν σητόβρωτα γέγονεν, ὁ χρυσὸς ὑμῶν καὶ ὁ ἄργυρος κατίωται καὶ ὁ ἰὸς αὐτῶν εἰς μαρτύριον ὑμῖν ἔσται καὶ φάγεται τὰς σάρκας ὑμῶν ὡς πῦρ. ἐθησαυρίσατε ἐν ἐσχάταις ἡμέραις. ἰδοὺ ὁ μισθὸς τῶν ἐργατῶν τῶν ἀμησάντων τὰς χώρας ὑμῶν ὁ ἀπεστερημένος ἀφ᾽ ὑμῶν κράζει, καὶ αἱ βοαὶ τῶν θερισάντων εἰς τὰ ὦτα κυρίου Σαβαὼθ εἰσεληλύθασιν.
ἐτρυφήσατε ἐπὶ τῆς γῆς καὶ ἐσπαταλήσατε, ἐθρέψατε τὰς καρδίας ὑμῶν ἐν ἡμέρᾳ σφαγῆς, κατεδικάσατε, ἐφονεύσατε τὸν δίκαιον· οὐκ ἀντιτάσσεται ὑμῖν.]

The Bible (The New Testament) (AD 1st - 2nd C) Christian sacred scripture
James 5: 1-6 [NJB (1985)]
    (Source)

(Source (Greek)). Alternate translations:

Go to now, ye rich men, weep and howl for your miseries that shall come upon you. Your riches are corrupted, and your garments are motheaten. Your gold and silver is cankered; and the rust of them shall be a witness against you, and shall eat your flesh as it were fire. Ye have heaped treasure together for the last days. Behold, the hire of the labourers who have reaped down your fields, which is of you kept back by fraud, crieth: and the cries of them which have reaped are entered into the ears of the Lord of sabaoth.
Ye have lived in pleasure on the earth, and been wanton; ye have nourished your hearts, as in a day of slaughter. Ye have condemned and killed the just; and he doth not resist you.
[KJV (1611)]

Now an answer for the rich. Start crying, weep for the miseries that are coming to you. Your wealth is all rotting, your clothes are all eaten up by moths. All your gold and your silver are corroding away, and the same corrosion will be your own sentence, and eat into your body. It was a burning fire that you stored up as your treasure for the last days. Labourers mowed your fields, and you cheated them -- listen to the wages that you kept back, calling out; realise that the cries of the reapers have reached the ears of the Lord of hosts.
On earth you have had a life of comfort and luxury; in the time of slaughter you went on eating to your heart's content. It was you who condemned the innocent and killed them; they offered you no resistance.
[JB (1966)]

And now, you rich people, listen to me! Weep and wail over the miseries that are coming upon you! Your riches have rotted away, and your clothes have been eaten by moths. Your gold and silver are covered with rust, and this rust will be a witness against you and will eat up your flesh like fire. You have piled up riches in these last days. You have not paid any wages to those who work in your fields. Listen to their complaints! The cries of those who gather in your crops have reached the ears of God, the Lord Almighty.
Your life here on earth has been full of luxury and pleasure. You have made yourselves fat for the day of slaughter. You have condemned and murdered innocent people, and they do not resist you.
[GNT (1992 ed.)]

Pay attention, you wealthy people! Weep and moan over the miseries coming upon you. Your riches have rotted. Moths have destroyed your clothes. Your gold and silver have rusted, and their rust will be evidence against you. It will eat your flesh like fire. Consider the treasure you have hoarded in the last days. Listen! Hear the cries of the wages of your field hands. These are the wages you stole from those who harvested your fields. The cries of the harvesters have reached the ears of the Lord of heavenly forces.
You have lived a self-satisfying life on this earth, a life of luxury. You have stuffed your hearts in preparation for the day of slaughter. You have condemned and murdered the righteous one, who doesn’t oppose you.
[CEB (2011)]

Come now, you rich people, weep and wail for the miseries that are coming to you. Your riches have rotted, and your clothes are moth-eaten. Your gold and silver have rusted, and their rust will be evidence against you, and it will eat your flesh like fire. You have laid up treasure during the last days. Listen! The wages of the laborers who mowed your fields, which you kept back by fraud, cry out, and the cries of the harvesters have reached the ears of the Lord of hosts.
You have lived on the earth in luxury and in pleasure; you have nourished your hearts in a day of slaughter. You have condemned and murdered the righteous one, who does not resist you.
[NRSV (2021 ed.)]