46 voted yes. And just a few months prior democrats tried to pass this [1] [2]. Which only failed because Trump didn't want Biden to be able to show a "tough on the border" stance.
Again, you'll find few democrats that have a stance on the border that contradicts the Republican stance. There are a few, but most are just staying silent. The only reason they vote against these sorts of bills is because of pure partisanship, not out of some ideology alignment.