I've been around long enough to know our brains are basically prediction machines - they're constantly running simulations based on what we know about the people around us. You know your mate well, you probably picked up on subtle signs he was job hunting or stressed about it, and your subconscious connected those dots while you were dreaming.
The tricky part is we remember the hits and forget the misses; if you logged every dream from 2024 to now, I'd bet less than 5% actually predicted anything specific, which is basically random chance.
Lucid dreaming is genuinely cool for creative problem-solving and understanding your own mind, but precognition isn't really supported by any measurable data - it's just how pattern recognition works when you're not consciously filtering information.