Um,...no. If some religion, any religion, teaches this type of doctrine, it is patently evil.
The major monotheisms all endeavor to cheapen this brief, but one certain mortal existence with the fanciful, yet groundless promise of another better one to come. Life as a dry run. A claim void of any logic or proof beyond wishful thinking. Not among qualities one would seek to include in an effective plan, forward thinking or otherwise.
If this life is an illusion, a fatuous claim I confer no support to, then what can we say about an [alleged] afterlife, for which the only basis is faulty human conjecture, asserted during the course of said illusion?