False dichotomy you’re presenting here.
It’s a bit of a false statement. 6 GOP Senators voted “Yes” to BOTH bills.
Only 2, Lee and Cotton, voted “No” to the Wall.
https://www.cnbc.com/2019/01/24/senate-votes-on-government-shutdown-and-trump-border-wall-bill.html