They pay for mercenaries, they get mercenaries. Rarely do companies pay for veterans, at least not good ones.
Different people have different preference here. But if you have an open space, and zero budget for tools, and chronically understaffed projects, and the salary is kinda average... well, you send a loud message.
Try it the other way: let the veterans have their own room with doors, give them the tools they need, maybe reduce their work time to 6 hours a day while keeping their salary competitive... and most of them will be happy to stay.
Or be honest and admit that you prefer it the way you have been doing it so far.
It’s not their responsibility to swear life long loyalty just because you need them. Especially when the second they are no longer needed a company wouldn’t hesitate to get rid of them.
Most software shops can’t have mercs because they aren’t built for it, they just assume people will stick around. If you want to run efficiently and confidently with mercenaries, get knowledge out of people’s heads and into robust documentation and architectural design records.