I think you should start from the beginning and describe what led up to you being sent down this rabbit hole.
Read Phony "tech support" / "ransomware" popups and web pages - Apple Community. Perhaps that was it.
... not only that, through the iPhone settings they told me what I had to do, what he wrote behind the settings made me do another face id he told me to do it and I didn't want to, he told me that I had to do it because he was afraid of what was happening and I logged out of Apple Id and he told me to do the face ID because I couldn't log out and he showed me an image that said government on the way to scare me ...
Stop. Enough already. Start over, from the beginning. Tell us what happened.
I think you're being scammed. It can happen to anyone. The first thing you must do is stop. Refuse to be a victim.