You can remember the meaning of 辈子 with this easy mnemonic:
In all my life, I've never seen a generation (辈) that's more addicted to tech than my child (子).
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.