In terms of number of CVEs Firefox is better. The real danger of mobile Firefox is that it doesn't implement sandboxing which means that a security vulnerability can be very bad. However, Android sandboxes apps already so the chances of long term impact are low.
I would love to see Mozilla implement a proper security sandboxing in mobile Firefox. Instead we get AI and ads. I can't use Chromium since it no longer properly supports Mv2