404 link building?

Let me start with, this idea, is for my site ONLY. I am never going to offer it as a service. Hopefully @Jacky Chou can chime in and tell me how big of an idiot I am being. Here is the idea. I run 1 of my competitors through hrefs to get their backing profile. Find any pages that are now 404 or very old content, that is being linked to. If it is a 404 take the URL and run it through the way back machine to find out what the page/post was about. Rewrite with up to date info with a llm. Then contact the site linking to the 404 page and offer my content to link to. After running out of those find the old content and again rewrite it with up to date ifo and contact the linking site. Seeing as this is for my site I can get the content out and make sure it fit’s my niche. OK now that I have laid the idea out, go ahead all of you and tell me how stupid this idea is. :-)