If everyone gets told to forget about mining, who will do the mining until 2114? coz the current miners will be all dead by then

People are not discouraged about mining in general. They are discouraged to mine with CPU. If u can set up your own GPU rig, U can still make some coins by pointing to a pool, not to mention ASICs are the best performer till date.