In manufacturing engineering, there is the concept of a sacrificial part—a component that is deliberately designed to be weaker than the rest of the system so that when things are under excessive stress, the sacrificial part will break before the more important/expensive/hazardous parts do. For example, KitchenAid stand mixers have a single, easily replaceable gear that's made of nylon instead of metal. If the mixer encounters too much resistance—say, a dough that's too stiff for the motor to handle—the teeth will snap off the gear before the motor completely burns out.
Sometimes the Lord lets us struggle with a particular challenge or temptation as a protective measure. Paul spoke of a 'thorn in the flesh' that the Lord refrained from removing, "lest I [Paul] should be exalted above measure." (2 Cor 12:6) My health challenges frequently prevent me from pushing myself harder than would be wise given my current mental health.
When we ask the Lord to remove our stumbling blocks, we need to be humble. If we're living worthily and praying with real faith and real intent, then He will answer our prayers, and in the way that most benefits us. In many cases, the stumbling block is the blessing.