Amazon's Jeff Bezos scored big in the stock market Friday, evidence that investing for the long term can pay off, one analyst told CNBC.

Shares of Amazon surged nearly 10 percent Friday after the internet retailer posted earnings of $1.07 per share, on $29.13 billion in revenue, crushing the 58 cents per share on $27.98 billion in revenue predicted by a Thomson Reuters consensus estimate. The Thursday earnings beat left Bezos swimming in more than $5 billion in extra wealth, on paper.