I Beg to Differ

What does the expression “I beg to differ” mean?

Definition: I must disagree with you.

Example: “Stocks will continue to rise next year.” —”I beg to differ. Energy supplies are unstable, and that will affect the business environment.”