Or pick a Firefox fork that doesn't have the AI bullshit. Libre Wolf is great for people who take security very seriously,l. I hear Water Fox is a much closer equivalent to Firefox without AI, and also has a focus on privacy. I've also been using Iron Fox on my android with basically no issues.
With Mozilla's current track record I don't trust them to not fuck with the AI "killswitch".