You’ll need iOS 15.1 or later to use WhatsApp from 5 May, 2025.
This means it will stop working on iPhones that can’t upgrade to this, such as iPhone 5s, iPhone 6 and iPhone 6 Plus, all released over 10 years ago. Update WhatsApp by opening the Settings app, then tapping General, followed by Software Update.