As described, you perhaps have limited options.
iPad2 is now very old (+9 years), update support having been ended by Apple in 2016. Most compatible Apps for 32-bit devices have since been withdrawn from the Apple App Store - as such, even if you do manage to resolve the immediate problem, you’ll not be able to (re)download or (re)install any Apps. The iPad2 is effectively obsolete.
We’re also seeing regular reports of Activation issues for the iPad2 - preventing reuse.
Taken as a whole, as disappointing as this may be, I suggest that you might be best advised to set-aside the old iPad and consider replacement with a newer model. Of current models, even the entry-level iPad7 has specifications and capabilities that are light-years ahead of your old iPad. Other models provide a step-up in both capabilities, features and cost.