To be clear, this applies to currency issuing governments ONLY. This is true of the US Federal government. This is not true of the government of Texas. The US is the currency ISSUER. Texas is a currency USER, just like you and me.
Having said that, the reason we have money is because the currency issuing government spent more of it into
Government spending creates money. Taxation destroys money.
Government spending PRECEDES taxation.
If government spending did not precede taxation, there would be no money with which to pay the taxes.
Government spending PRECEDES the sale of Treasury Bonds.
If government spending did not precede the sale of Treasury Bonds, there would be no money with which to buy the bonds.
Below is a chart of US Government Balances vs Domestic Private Sector Balances and the US Capital Account (money non-Americans are investing in American in excess of what Americans are investing abroad). It runs from 1952 Q1 to 2014 Q4.
In the video below, Stephanie Kelton explains this concept really well during which she