Have you taken the in-transit plastic screen protector off the phone if there is one applied @Nahiyan
There are diagnostic checks you can do via your Samsung Members App and by dialing *#0*# into your phone app.
And a Samsung Experience Store or Samsung Service Centre can take a look.
Current Phone >Samsung Z Fold³ 5G.
Back Up Phone > Note 20 Ultra 5G SM-N9860.
@Nahiyan: Have you tried using Night Mode by opening the Camera app > More > Night Mode? Night mode uses multi-frame processing to combine 30 images into one clear photo. The extra light captured by the phone's camera sensors will help your photos appear bright and enhanced. Let me know how you get on.