Obviously its always destined to end badly, when you bluff into the nuts, so unlucky timing play a role in this hand. But that being said its still a poorly played hand by the opponent. 42o is not a hand, you want to open from any position on the table, because its simply way to bad.
And the issue with this lack of preflop disciplin is, that if you play hands as bad as this, then you end up postflop with a lot of hands, that can only win by bluffing. And this creates, what is known as a frequenzy issue, where you end up with far to many bluffs and not enough valuebets. And then your opponents can basically own you by not folding their bluff catchers.
In top of that you also want to run big multistreet bluffs with hands, that have equity and/or good removal. On this board a reasonable bluffing hand would have been a hand with Ah rather than 2h, so that if a fourth heart comes on the river, he makes the nut flush rather than the nut low flush. And so that he block far more of my flushes. My range for calling preflop contain a fair amount of suited aces but not many suited deuces if any at all.
So to sum it up bluffing in itself is not bad, and its not bad to sometimes put your opponents to the test for all their chips on the final table. But if you pick a complete garbage hand like 42 offsuit and randomly go crazy with it, then it is in fact pretty bad