If inflation is 10% and wages increase 10%, taxes will increase 10%. That’s a wash.
The wash is to the tax payer.
To the government there is a net increase in revenue with which to pay down debt. The devalued (inflated ) dollars are worth less than the indebted dollars.