Landfills are lot more complex than just dumping trash in a pit. https://www.calrecycle.ca.gov/swfacilities/landfills/needfor... may be of interest. The tl;dr is that properly-managed ones genuinely are a safe form of waste disposal.
Plastics sitting in our landfills are, at human timescales, sitting relatively undisturbed on the outer skin of this world, where they are probably a teensy bit less "sequestered" than they were several thousand feet into the crust.
At anything approaching geologic time, some fraction of these feats of engineering will be graciously buried by layer upon layer of new sediments; others will be sundered by the same forces that flatten mountain-ranges and carve canyons, their contents re-circulated through nature's supply chains.
Given so many parts of the world throw trash into rivers which is one of the main ways we get so much plastic in the ocean, this seems extremely wishful.
Seems like if we could avoid plastic in the first place, or have all plastic be biodegradable in a short time period, we'd be far better off.
Managing AND reducing waste needs to happen simultaneously.