I uh...don't love it...
EDIT
Some futher context, I like the trade, but don't love it. Why? Because it's a bit of an upgrade over an inexperienced Cook, and solidifies Cook being the RB1 in 2023, but I don't love it, because it doesn't significantly move the Bills closer to the SB.
But with a loaded roster, that would have been next to impossible to pull off. The only feasibly player I could think of was Jerry Jeudy