Taxes destroying money are the other side of the coin (forgive the pun) of money creation through government spending. Without it we'd have a constant source of inflation that could only be abated by cuts to spending.
Richard Murphy went into detail of the whole flow in this post:
https://www.taxresearch.org.uk/Blog/2024/02/12/tax-and-money-flows-within-the-economy/