2 Maccabees 12:40

40 Now under the coats of every one that was slain they found things consecrated to the idols of the Jamnites, which is forbidden the Jews by the law. Then every man saw that this was the cause wherefore they were slain.

2 Maccabees 12:40 In-Context

38 So Judas gathered his host, and came into the city of Odollam, And when the seventh day came, they purified themselves, as the custom was, and kept the sabbath in the same place.
39 And upon the day following, as the use had been, Judas and his company came to take up the bodies of them that were slain, and to bury them with their kinsmen in their fathers' graves.
40 Now under the coats of every one that was slain they found things consecrated to the idols of the Jamnites, which is forbidden the Jews by the law. Then every man saw that this was the cause wherefore they were slain.
41 All men therefore praising the Lord, the righteous Judge, who had opened the things that were hid,
42 Betook themselves unto prayer, and besought him that the sin committed might wholly be put out of remembrance. Besides, that noble Judas exhorted the people to keep themselves from sin, forsomuch as they saw before their eyes the things that came to pass for the sins of those that were slain.
The King James Version is in the public domain.