Share all details about your problem, including any error messages you may have received.
I have requirement where this account details tab showing user’s personal details and we don’t want to show it to the manager at the time of reviewing access
One way of doing is you encrypt the values while aggregating them and then decrypt, before using them.
Other way is to use a plugin that can hide this option by injecting a script while loading this page.
I am not aware of any ootb option available.