That the government demands payment in its money for its taxes may guarantee a longer life for that money, but only if the government is able to prevent the quick expansion of the supply can it protect its value from depreciating quickly.
This isn’t fully true, the Federal Reserve has the power over supply and they are not a part of the government.