1. GDP can either be viewed as the total income or total expenditure of an economy. The government taxes income.
2. The government taxes any money it spends and tax dollars do not increase GDP.
If government spending increases the GDP, then tax dollars indirectly do so. The government cannot spend tax dollars that it does not collect (without borrowing). Dollars that are not spent on taxes are not necessarily destined to be spent right away (vs. putting them in the bank / under the mattress).
At a 10% income tax rate: First case is $22.5K/yr, second case is $20K/yr.
So yes: GDP is the same as income for the gov't for practical purposes.