The below steps will help you to login into WordPress if you forgot the WordPress admin password.
1. Login to cPanel
2. Open Softaculous App Installer
3. Click on Installations to open installed Softwares like WordPress.
4. Click on Admin icon available next to your hosting domain WordPress installer, it will redirect to your WordPress Admin dashboard.