This is the worst advice I have seen in a while. Academia is the absolute worst for salary, with an eternity actuelly not earning anything (or if in the US, having to pay yourself!) plus the stress of constant chasing of funding, politics that make big corporations pale and whims of reviewers that have no idea about your niche. I didn't even consider a post-doc, went straight to industry. Best decision ever.
Only go to academia if it's truly your passion and you don't care about money for some reason.