He is currently the longest-serving manager in the EFL and having led Wycombe into promotion contention in League One, having also seen them up from League Two, he began to draw the eye of bigger clubs when vacancies came up.
Both Sunderland and Millwall parted ways with their managers in 2019, with Jack Ross sacked by the Black Cats and Neil Harris opting to leave The Den, and Ainsworth was someone high on their list.
But he has admitted that neither move would have been right for him.
“Sometimes, you have to look around and realise what you’ve got,” he told the Football League Paper in a recent interview.
“It’s very tempting to move on, to change clubs a lot.
“But it has to be right. And the offers that were well documented earlier this season weren’t right, for me or my family.”
QUIZ: Can you name these 15 ex-Wycombe right-backs?
Ainsworth has been at the helm of The Chairboys since 2012, starting off as a player-manager before taking on the role full-time after hanging up his boots in 2014.
As things stand, Wycombe sit in eighth place in League One but are level on points with Sunderland in seventh and Peterborough in sixth, with a game in hand on both sides.
This weekend sees them come up against Burton Albion at The Pirelli Stadium with the possibility of moving as high as third ahead of them, if results elsewhere are kind to them.
It is very refreshing for a manager in the lower leagues to have this attitude and it will only have made him more respected amongst the Wycombe fans, even though that did not seem to be possible.
Besides, it is looking like a sensible move now. The Sunderland job is not one that anyone should take at the drop of the hat. There is not more expectation anywhere in League One and that would not have been a good match for Ainsworth, given his reasons above.