Your comment is making it seem like tourists are costing the country money while the opposite is true. Tourists buy a non trivial amount of USD which they end up spending inside the country.
They use it for a couple of days compared to lifetime use by the citizens.
Your comment sounds so hateful and privileged. It almost sounds like "we made all this infrastructure, parks, law and order for you. You need to pay fairly for the honor and privilege to use it".
In India, public attractions charge higher to foreigners but the stated reason is purchase power parity. Indians on average make like $2k annually.