Hey there, Iphonexsmax8.
Welcome to the Apple Support Communities! Thanks for posting about the camera on your iPhone not taking pictures quite like you'd expect. I'd be glad to see how I can help you correct that.
If the camera or flash on your iPhone, iPad, or iPod touch isn't working, check out these steps for some guidance. You might also benefit from checking out the "Zoom in and out" section of Take photos with the camera on iPhone, as you mentioned that it was both blurry and barely fit 2 people in a photo. It's possible that the camera is zoomed in such a way that both of those factors could be present. The rest of that resource is also great for basic photo taking. To really kick your photo quality up a notch, take a look at How to shoot on iPhone, which includes great tutorials for many different types of photography methods that'll ensure you get the best shots every time, no matter what the situation, lighting, or desired outcome.
Take care!