If you are having any armv7 based device browsers might fail to work due to unknow reasons. We can't help with armv7 devices since we don't have any armv7 devices as its older architecture and is no more found in modern smartphones.
All the commands should be executed after starting Linux
Ubuntu / Ubuntu 19 / Debian / Kali Linux
apt install firefox-esr -y
Arch / Manjaro
pacman -S firefox --noconfirm
xbps-install -S firefox
Sadly Alpine does not provide Firefox support for ARM devices as or now.