2 Maccabees 10:6

6 And they celebrated it for eight days with rejoicing, in the manner of the feast of booths, remembering how not long before, during the feast of booths, they had been wandering in the mountains and caves like wild animals.

2 Maccabees 10:6 In-Context

4 And when they had done this, they fell prostrate and besought the Lord that they might never again fall into such misfortunes, but that, if they should ever sin, they might be disciplined by him with forbearance and not be handed over to blasphemous and barbarous nations.
5 It happened that on the same day on which the sanctuary had been profaned by the foreigners, the purification of the sanctuary took place, that is, on the twenty-fifth day of the same month, which was Chislev.
6 And they celebrated it for eight days with rejoicing, in the manner of the feast of booths, remembering how not long before, during the feast of booths, they had been wandering in the mountains and caves like wild animals.
7 Therefore bearing ivy-wreathed wands and beautiful branches and also fronds of palm, they offered hymns of thanksgiving to him who had given success to the purifying of his own holy place.
8 They decreed by public ordinance and vote that the whole nation of the Jews should observe these days every year.