If you mean that they seem to 3bet you nearly every time you do something like this then you're giving something away, or just making your moves on the wrong player. Look to see how the person you plan on stealing from reacts to it and plan accordingly. Maybe your bet amount changes for steals, or maybe a timing tell.
If that just happens sometimes, and you have just noticed that you're not smart enough to fold, STOP IT. Thats really about all you can do. If a play isn't profitable don't make it. If those moderate
hands are costing you money on your steal attempts because of bad 3bet calls then stop stealing with that range, or stop making the bad calls. Maybe make yourself lick a 9 volt battery every time you make a call like that to make yourself stop?
Remember, just because a play might be good for someone who will play the rest of the hand correctly, doesn't mean it is good for you. Look at your game and see where you profit, and where you don't. Adjust the things you don't profit from by either going to a correct action, or eliminating them. You say you wouldn't do it B&M so you know better, maybe if you enforce some sort of time delay before your action, to slow things to a more real life pace to let your brain have time to intervene you'll have better luck doing what you know you should.