The top five from 2018 offer a nice lesson. There were two QBs nowhere close to being the kind of franchise QB a team would want out of a top-five pick, a running back picked with a top-five pick (in 2018, even though I thought all NFL front offices would have been too smart to do that by then... EDITED to add: ...but I had forgotten just how far out of his depth Gettleman was

), a good-but-not-great-so-far CB, and Chubb. Let's say one and a half players out of five actually appear, five seasons later, to have been good uses of top-five picks.
This is part of why I agreed with
@ZornLargentPatera that it's not worth obsessing over #3 vs. #5. There will be players picked in the top five who will end up being greatly outperformed in their first four years in the NFL and over their entire careers by players picked outside the top ten, and probably even picked outside the first round. It might be because of injury, it might be because of a player being picked by the "wrong" team (one that uses a scheme in which his strong points are least useful), or it might be because of players producing differently in the NFL from how they were projected to perform based on their minor-league ("college") performance, or it might be a combination of those and other factors.
In any case, yes,
on average it's better to have the third pick than the fifth, but not so much better that it's worth getting upset about the difference.