Doesn't work like that chief. Ahistorical theoretical nonsense
But hopefully you'd agree that there are a lot of wars where the belligerents _do_ mine their borders, and put a fence up behind that area telling their citizens not to cross. Random example in the Negev: https://www.alamy.com/stock-photo-landmines-danger-sign-near...