Ibuprofen and paracetamol are roughly the same in theme of pain relief and harm in long-term use.
UK National Health Service Website:
FAQ: Can I take [X] for long periods?
[paracetamol]
It’s safe to take paracetamol regularly for many years as long as you do not take more than the recommended dose.
[ibuprofen]
If you still need ibuprofen after taking it for 10 days (or for 3 days if you’re under 18) check with your doctor before continuing. If you need to take ibuprofen tablets, capsules, granules or liquid for a long time and you’re at risk of getting a stomach ulcer, your doctor may prescribe a medicine to help protect your stomach.
It seems like you’ve mistaken what “strong” means.
But I shouldn’t have said “long term”. The dangers of each are different.
Ibuprofen is relatively safe to go a bit over the recommended dose, but not over the recommended duration.
Paracetamol is relatively safe to go over the recommended duration, but not the recommended dose.
Paracetamol for me is better for headache and ibuprofen is better for muscular pain.
Low doses of ibuprofen are better as an anti-inflammatory, and higher doses are better for pain relief, from what I’ve learned online (I’m not a doctor).
I imagine the muscle pain you were dealing with was due to inflammation from overexertion or something?