My old man bought a used 2022 f250 6.7L last month and after about a week it was dead, no crank, but dash lit up. I went over to check it out and popped the hood. There's a fuse box in the back of the engine bay that was missing the lid. Mechanics verified it was full of water. Replaced the fuse box, which I think was roughly $1,400. The truck kept having random electrical issues and sometimes wouldn't crank. Their next step was replacing the harness for $2,400K - $4,000K with no guarantee that would fix the problems. He elected to trade it into a Ford dealership (with full disclosure of the issues) instead for a significant loss. Got a brand new 2024 6.7L and totaled it less than 24 hours later.
In my research into the water issue, it's common for these trucks to get water in the fuse box even with the lid in place. There's definitely some drainage issues that are causing problems.