Hello Unaha-Closp,
Welcome to Apple Support Communities. It sounds like you're having trouble connecting your iPhone to your Mac. We are happy to share information that may help.
First, in order to isolate the issue, test the issue in another user account to see if you see the same message: Set up users, guests, and groups on Mac.
If you see the same issue in another user account, on your iPhone navigate to Settings > General > Reset > Reset Location & Privacy. You can find more information about this setting at the bottom of this article: Return iPhone settings to their defaults.
If the issue does not occur in another user account, then use the steps here: If Image Capture doesn’t open when you connect a device to your Mac.
Take care.