I would agree with your premise except you have to remember that not every player is a scheme fit. So while the next rated QB may only be slight worse or even equal in a vacuum, he may totally not fit whatever scheme the coach is running.
In that sense they are trading for the player.