Short answer
Keywords still matter, but not as things to repeat. Search engines now match meaning rather than exact words, so the job is covering a subject properly in the language your customers use. Writing naturally about one thing beats repeating a phrase.
Somebody will have told you keywords are dead, probably while selling you something. They are not dead. What died is a particular way of using them that was always a bit grim.
What actually died
Repeating a phrase to hit a number. Writing emergency plumber Hornby eleven times on a page because somebody said three percent density.
That stopped working years ago, and it was never good for business anyway. It made pages worse to read, and a page that is worse to read converts worse, so you were paying twice.
What replaced it
Search engines match meaning rather than exact strings now. They understand that hot water cylinder, hot water tank and water heater are the same object, and that burst pipe and water coming through my ceiling are the same emergency.
Which means the job changed from repeating a phrase to covering a subject properly. If your page about blocked drains genuinely covers what causes them, what it costs, how long it takes and when it needs a camera, it will pick up hundreds of related searches without you listing a single one of them.
So why do the words still matter?
Because you cannot cover a subject without using its words, and because customers and tradespeople talk differently.
You might write about backflow prevention device testing. Your customer searches do I need a backflow test. Both should be on the page, and the customer’s version should be the heading, because that is what is actually being typed.
This is the single most common gap I see on plumbing sites. Technically accurate pages written in trade language, invisible to the people searching in customer language.
The one keyword habit worth keeping
One subject per page.
Not one keyword. One subject. A page about hot water should be about hot water, properly, from one end to the other. A page about blocked drains should be about blocked drains.
What does not work is a Services page listing twelve things in bullet points, which is the most common structure on a plumber’s website and cannot rank for any of them, because it does not really say anything about any of them. Splitting that up is usually the single biggest improvement available.
Where to find the real words
The phone. Genuinely.
The words people say when they ring you are the words they type into Google. Keep a note for a fortnight of how people describe their problem and you will have better research than any tool gives you, because it is your customers in your area rather than a national average.
Your review replies are another source. So is whatever you find yourself explaining over and over on jobs, because if you explain it on site constantly then people are searching it constantly.
What about writing for AI
Same answer, which is the convenient part, and the reason SEO, AEO and GEO overlap as much as they do. The tools reading your site are trying to work out what it is about and whether it is trustworthy. Clear writing on one subject in the language customers use does both.
Writing for a search engine and writing for a person stopped being different jobs a while ago. If a page reads well out loud to a customer, it is in decent shape. If you would be embarrassed to read it out, no amount of keywords is going to save it.