What does a casino wagering requirement actually mean?

https://luckytablenotes.alderbrief.com/posts/what-does-a-casino-wagering-requirement-actually-mean

A casino wagering requirement is a condition attached to a bonus, specifying how many times the bonus amount must be played through before winnings can be withdrawn. For example, a 20x wagering requirement on a $100 bonus means $2,000 in total bets are needed. These rules matter to anyone claiming a casino bonus, as non-compliance forfeits any associated winnings.