III Maccabees 6:28-38

28 Release the sons of the almighty living God of heaven, who from our ancestors' times until now has granted a glorious and uninterrupted prosperity to our affairs.
29 These things he said; and they, released the same moment, having now escaped death, praised God their holy Saviour.
30 The king then departed to the city, and called his financier to him, and bade him provide a seven days' quantity of wine and other materials for feasting for the Jews. He decided that they should keep a gladsome festival of deliverance in the very place in which they expected to meet with their destruction.
31 Then they who were before despised and nigh unto hades, yea, rather advanced into it, partook of the cup of salvation, instead of a grievous and lamentable death. Full of exultation, they parted out the place intended for their fall and burial into banqueting booths.
32 Ceasing their miserable strain of woe, they took up the subject of their fatherland, hymning in praise God their wonder-working Saviour. All groans, all wailing, were laid aside: they formed dances in token of serene joy.
33 So, also, the king collected a number of guests for the occasion, and returned unceasing thanks with much magnificence for the unexpected deliverance afforded him.
34 Those who had marked them out as for death and for carrion, and had registered them with joy, howled aloud, and were clothed with shame, and had the fire of their rage ingloriously put out.
35 But the Jews, as we just said, instituted a dance, and then gave themselves up to feasting, glad thanksgivings, and psalms.
36 They made a public ordinance to commemorate these things for generations to come, as long as they should be sojourners. They thus established these days as days of mirth, not for the purpose of drinking or luxury, but because God had saved them.
37 They requested the king to send them back to their homes.
38 They were being enrolled from the twenty-fifth of Pachon to the fourth of Epiphi, a period of forty days: the measures taken for their destruction lasted from the fifth of Epiphi till the seventh, that is, three days.

The Brenton translation of the Septuagint is in the public domain.