I submitted a paper to one of Elsevier’s journals. After a couple of days, its status changed to “with editor”. But now after about ten days from the submission date, it changed to “Decision in Process”. Is there any hope that it will not be rejected?
If there is a decision before it was sent to reviewers, it usually means a desk-rejection. This is not necessarily a bad outcome! It means you won't waste time on a review process that is not likely to be favorable and you can move straight ahead to another journal.
Other more rare outcomes are possible, though: they could issue a "reject and resubmit" if they think the paper would be a good candidate for review after some major changes were made. They could also be inviting you to a special issue etc.
But most likely outcome is desk rejection.