Didn't Foles beat us last year, playing for Da Bears?
IIRC, it was Foles vs. Mr. (Un)Limited in the 4th quarter, Seahawks with a one-score lead, with just over 2 minutes left. Wilson ran himself into a 15 yard sack, Myer just missed a now-15-yards-longer FG, and Foles took the Bears down the field to score, and then Foles converted a 2-point conversion that resulted in a 1-point win by Da Bears.
So, by the head-to-head logic...
Foles > Wilson in 2021
Heinicke > Wilson in 2021
Not saying the other two are better than Wilson, but they did both beat him in close games where Wilson had the opportunity to lead a game-winning drive.
So yes, Hawks should bring in Super Bowl Champion starting QB Nick Foles if he's available, to compete with, and mentor Drew Lock. Foles has the experience and mental savvy and probably would be a really good mentor for Lock.