Governments can take your land through Eminent Domain if it is shown to benefit society as a whole.
By the United States Constitution, in the United States such a taking must be with compensation (reasonable, market-based compensation). And the same is true in most democratic countries with an independent judiciary. (This is notably not true in China, which is why seizing land from peasants is a favorite way for corrupt local officials to enrich themselves.)