Should I still try to publish this paper I wrote after it getting rejected?
In publishing there is a phenomena called "me too" publications (see for example Day &amp; Gastel: How to write and Publish A Scientific Paper) where one takes existing methods and apply them to a new area, data set, whatever context is applicable. Although not wrong, these types of studies usually do not contribute much new knowledge except resulting in the understandng that the method(s) work in (yet) another circumstance.

What can then be done? As I alluded to initially, there is nothing really wrong with such studies. What is necessary is to convince the editors and reviewers that by applying the method(s) to the new area, you have actually achieved something new (in the sense of scientific discovery). For example, applying a formula to a new set of numbers is not a discovery unless the new numbers themselves contain something that can be set apart from what has been done before. So it boils down to what might sloppily be called "packaging"; you need to package your study so that it is evident what new discovery is achieved. It is not sufficient to just say that it is a new data set but you need to convince that applying the method(s) to the new data set shows results that expand our horizon beyond the obvious and also be explicit why one, for example, would not expect the result you obtained (or equivalent).

I have deliberately kept this answer as general as I can because the issue you bring up applies to many if not all fields. I would give the manuscript a hard work over and really think about what truly scientifically (intelectually) new aspects you bring forth. It may be that your writing has not been clear enough to bring the message through. It may be that you are too involved to see the bigger picture that needs to be explained to others. Or, in the worst case, it may be that your study is too trivial. Avoid falling into the "me too" trap, it easily happens and the remedy is usually to make sure the perspectives of the study are re-written carefully to highlight the core research problem to be solved.

So to answer, yes you should try again unless you find you are stuck in "me too" land.