>>40553735I think that that's a useful contemplation overall because it will start to point you in the right direction.
However, the problem of suffering doesn't come from you thinking that a wall has a permanent existence, it comes from your attachment to the world.
When beings are attached to something, they must also be covering up / ignoring the truth about the emptiness of that thing. So the real ignorance that fetters beings isn't about thinking a wall is permanent (unless you're emotionally attached to it...), it's about refusing to patiently endure the discomfort of the reality that you will grow separate from all you find dear and appealing. Once your mind calms down and can accept the full weight of that without craving against it, you're now free from that ignorance of suffering.
Buddha suggested a contemplation of 'All beings survive on nutriment'. Thinking about how food is required for all beings to live can cut through that emotional view of your attachments being permanent.
People intellectually understand that they will lose everything they hold dear, but they don't emotionally accept it and instead emotionally cover it up because of not knowing any escape from suffering apart from sensuality.
By abstaining from sensuality and contemplating the loss of your attachments, you force your mind to confront the truth about emptiness and suffering on the deepest emotional level, which uproots the core ignorance that keeps you bound to samsara. You see that the cause of suffering is the mind delighting in what is inconstant, and so your mind lets go of passion, delight, craving, birth, aging, death, and suffering.