2 Esdras 7:38

38 Look on this side and on that; here are delight and rest, and there are fire and torments!' Thus he will speak to them on the day of judgment -- and Samuel in the days of Saul, and David for the plague, and Solomon for those in the sanctuary,

2 Esdras 7:38 In-Context

36 Then the pit of torment shall appear, and opposite it shall be the place of rest; and the furnace of hell shall be disclosed, and opposite it the paradise of delight. I answered and said, "How then do we find that first Abraham prayed for the people of Sodom, and Moses for our fathers who sinned in the desert,
37 Then the Most High will say to the nations that have been raised from the dead, `Look now, and understand whom you have denied, whom you have not served, whose commandments you have despised! and Joshua after him for Israel in the days of Achan,
38 Look on this side and on that; here are delight and rest, and there are fire and torments!' Thus he will speak to them on the day of judgment -- and Samuel in the days of Saul, and David for the plague, and Solomon for those in the sanctuary,
39 a day that has no sun or moon or stars, and Elijah for those who received the rain, and for the one who was dead, that he might live,
40 or cloud or thunder or lightning or wind or water or air, or darkness or evening or morning, and Hezekiah for the people in the days of Sennacherib, and many others prayed for many?
Revised Standard Version of the Bible, copyright 1952 [2nd edition, 1971] by the Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.