This is accessible by a Human Resources Specialist role, so we need to remove the aggregate privilege which is called Compare HCM Information from Role Hierarchy.
I hope this blog post was helpful for you. If you have any questions or feedback, please leave a comment below.