Your spelling is fine. Your brain is just pulling a dramatic little stunt when it decides that "friend" suddenly looks made up. F-R-I-E-N-D. That collection of letters that your brain has seen roughly 47,000 times in your life now looks like something a cat walked across a keyboard to produce.
Here is what is actually happening. Your brain gets so full of information that it starts questioning things it already knows. Scientists call it cognitive overload. It is basically your brain throwing its hands up and saying "I cannot confirm anything right now, please hold." The word looks wrong, you stare at it longer, it looks even more wrong, and now you are googling how to spell "because" like some kind of spelling bee dropout.