2 Maccabees 12:44

For if he were not expecting that those who had fallen would rise again, it would have been superfluous and foolish to pray for the dead.