I mean, yes? I'd personally rather see money spent on housing and feeding and educating people than building new seawalls. Particularly in places like Bangladesh, which are both poor and low-lying.
The collective delusion of the climate conversation is that first-world countries are going to be the ones who suffer, but that isn't what the risk looks like at all. For example, New York City will be OK, even though mass media loves to show apocalyptic visions of the climate future set in lower Manhattan.