The book of 3 Maccabees is found in most Orthodox Bibles as a part of the Anagignoskomena, while Protestants and Roman Catholics consider it non-canonical, except the Moravian Brethren who included it in the Apocrypha of the Czech Kralicka Bible. It is also included in the Armenian Bible.
Despite the title, the book has nothing to do with the Maccabees or their revolt against the Seleucid Empire, as described in 1 Maccabees and 2 Maccabees. Instead it tells the story of persecution of the Jews under Ptolemy IV Philopator (222–205 BC), some decades before the Maccabee uprising. The name of the book apparently comes from the similarities between this book and the stories of the martyrdom of Eleazar and the Maccabeean youths in 2 Maccabees; the High Priest Shimon is also mentioned.
The contents of the book have a legendary character, which scholars have not been able to tie to proven historical events, and it has all the appearances of a romance. According to the book, after Ptolemy's defeat of Antiochus III in 217 BC at the battle of Raphia, he visited Jerusalem and the Second Temple. However, he was miraculously prevented from entering the building. This led him to hate the Jews and upon his return to Alexandria, he rounded up the Jewish community there to put them to death in his hippodrome. However, Egyptian law required that the names of all those put to death be written down, and all the paper in Egypt was exhausted in attempting to do this, so that the Jews were able to escape. Ptolemy then attempted to have the Jews killed by crushing by elephant; however, due to various interventions by God, the Jews escaped this fate, despite the fact that the 500 elephants had been specially intoxicated to enrage them. Finally, the king was converted and bestowed favor upon the Jews, with this date being set as a Festival of Deliverance.