Donald Trump said the world was “gloomy” before he was elected president.

After he beat Hillary Clinton in a stunning upset on election night, the president-elect credited himself with banishing gloom and lifting the markets this week.

“The world was gloomy before I won — there was no hope,” he tweeted Monday. “Now the market is up nearly 10% and Christmas spending is over a trillion dollars!”

The world was gloomy before I won – there was no hope. Now the market is up nearly 10% and Christmas spending is over a trillion dollars! — Donald J. Trump (@realDonaldTrump) December 26, 2016

Trump also squared off with Barack Obama after the president essentially said he could have beaten Trump and won a third term during an exit interview with David Axelrod. (RELATED: Barack Obama Needs Time To Think About Himself Once He’s Out Of Office)

Trump fired back on Twitter.