Don’t bet on a pre-purchase inspection to find hidden damager. The most through pre-purchase that I have ever had done failed to find spar corrosion in the fuel tank bay. A through annual wouldn’t have picked it up.
In fact I have had better luck forgoing the pre-purchase inspection and just resigning myself to spending money to fix and old airplane.
Just my opinion everyone else can do what they want.