Governments are encharged to use tax payer money; that's what governments do. Surely, there are going to be differences of opinion regarding the extent to which any government is spending government resources in the interest of the people and if they are taking reasonable actions with money and resources.
Your mere characterization as bitcoin as a gamble rather than an investment does not make it so merely because you allege such, and does not even seem to be a logical conclusion based on current facts on the ground including that Bukele has been proclaiming that foreign investments into El Salvador and even tourism in El Salvador is way up since the announcement of the intention to pass the Bitcoin tender law last June 2021, and even up higher than the amount of bitcoin that has been bought and invested into the government treasuries.
Sure we have a work-in-progress and even some needs to verify whether claims are true, but I would think that Bukele is in a way better position to assess various financial matters in the country than you, even though I have no problem if you are attempting to use actual relevant and material facts to make your claims rather than what seems to be your ongoing negative nancy claims that seem to be largely removed from reality and skewed by your own seeming inabilities to appreciate bitcoin as an investment rather than a gamble.
Furthermore, there are many of us in the bitcoin space who have been hearing largely bullshit proclamations about bitcoin as a gambling technique rather than an investment, and many times the differences between investing and gambling has to do with details in the approach and or the apportionment of position size rather than the mere fact that bitcoin happens to be included in an investment portfolio... so in that regard, your mere assertion of bitcoin as a gamble seems far removed from the factual historical performance of bitcoin - especially over the longer term and especially if investors had been mostly accumulating bitcoin over the years within reasonable means (rather than over investing), and there is no evidence that El Salvador has been overinvesting into bitcoin.. rather than being reasonably assertive and directional.
For sure, there seems to be quite a bit of doom and gloom exaggeration regarding what El Salvador did in terms of just adding bitcoin as another option (besides keeping the dollar as an ongoing legitimate way to transact in the country), so for sure Bitcoin did not become exclusive or even pushed in any kind of meaningful/substantial way onto the people.. even though some of the law required larger companies (capable of internet services) to provide bitcoin transactions as an option... which seems to be more than a reasonable trade off, at least so far.. and yet we are still less than 1 year into the legal tender law going into effect (going live).
Ongoing claims of doom and gloom do continue to come off as exaggerated rather than really having facts on the ground to back them up in any kind of meaningful/substantive ways.
You are probably correct that El Salvador is merely exercising prudent aggressiveness in terms of continuing to buy BTC on an ongoing basis, even while BTC prices are lower than their earlier purchases rather than gambling as what many of the bitcoin naysayers and El Salvador bashers (haters) seem to want to conclude without any real and materially meaningful evidence to support their claims about El Salvador's supposed gambling posture in relationship to bitcoin.