Customizing Your Site Icon or Favicon in WordPress
STEP 1 : Simply go to Theme Customizer » General Settings
STEP 2 : Click on the Site Identity tab
STEP 3 : Next, you’ll get the option to upload your site icon/favicon:
Simply click on the select site icon button and then upload the image you want to use as site icon.