I think it is worth investigating why a horse doesn’t “like” jumping but they aren’t automatically a dressage/trail/whatever horse. At the same time, sometimes horses do prefer one job over another.
I have one who, for whatever reason, likes to leap about like a silly man when cantering in company. I’ll hopefully get him over it someday but my short term plan is to not ride him in showing classes that require cantering in company.
I’ve owned a tricky warmblood who flipped back and forth between the dressage and jumper ring (prior to my ownership) with each person claiming he didn’t like whatever it was that the job was. In reality, he had back and suspensory issues as well as a hefty dose of skepticism about his riders after he had been treated with a heavy hand and beat around a course. Which came first? Who knows. No longer relevant.
I also owned a TB whose owner tried to event her, and based on my experience with her the poor mare was positively terrified of jumping and her goal was just to get to the other side as quickly as possible. I worked and got her comfortable with the hunter ring where at least the obstacle fillers looked mostly alike, but she was never going to succeed at dealing with much diversity in jump types and water was an absolute no go.
But she hacked beautifully, and I ended up starting some dressage with her before she finally injured herself and required retirement.
Most horses can find some specialty (if not injured) that they click with.