Does the concept of eternal damnation exist in Judaism? This is not about some temporary state of judgement like is referred to on Rosh HaShanah 17a by the expression לדורי דורות, but a permanent condition that does not end.
If it does exist, what are the sources for this? Is the first mention in the written Torah or did it appear and develop later?