By and large, this is very likely a topic that will net you "no solid answers". Difficulty means different things to different people.
Some people will tell you that "reaction time" and "reflexes" are the ultimate challenge that they love.
Other people will tell you that "a boss that takes hours to defeat" is the ultimate challenge for them.
The answer is going to be different for everyone.
I find, personally, that most games can't hit the "sweet spot" that I enjoy.
I like the "challenge" to just be in teaching me something, and then iterating on it. Imagine a combat system that worked like the game "Portal" or "Portal 2" does. That's the feeling I typically chase in terms of "challenge". I want to do something clever and have the game acknowledge me for it. Or, rather, find the solution, and then think I'm clever for having done so.
But, because of this, most games are either "too easy" or "too frustrating" for me to play. The Dark Souls series, for example, I found to be "too easy" most of the time. The parts that I found to be "too difficult" were places in which my "build" just wasn't what the devs wanted me to have at that point, and I had to "brute force" my way through it. But, the devs knew that, which is why they included things like summons and over-leveling. Meanwhile, a game like "Lies of P" I find too frustrating because it demands "perfection" from you. As in, it plays more like those "one hit and you die" scrolling shooter games than it does a Dark Souls game. I'm just not into playing games "as a test of honor". I do not believe in "only the chosen may see the ending of this game". I'm also just not a fan of games relying so heavily on a single mechanic that just isn't "fun" to me to use. Yes, I'm talking about "Perfect Block". There's a reason I don't play with Shields and Parries in Dark Souls or FromSoft games... playing that way just generally doesn't feel that much fun to me. I prefer mobility, dodging, and quick strikes as my playstyle.
But, then again, I'm also the guy who prefers to throw all his points into Luck and Charisma in games and see how far that gets him and how often I can even avoid combat at all, as a result.
"Challenge" for me, is fine, so long as it is testing the skills I want it to test. But, the moment I have mastered that challenge, I generally get bored of it unless it's iterated on.
There's a reason that the first time I've ever done a Raid in an MMO, I had it mastered by the 5th run and was bored of it before obtaining even half of the Raid Gear. I had mastered the challenge so I'd never get hit, and then it was boring.
Once active play turns into robotic play... I'm out. I'm done. It's no longer challenge for me, but a roadblock. A test of wilpower to overcome boredom and tedium. A struggle to stay awake while the dev has nothing new or interesting to do or to show me.
But, if you're just looking for a "sweet spot" between player power and enemy power... I don't know, there isn't one.
If your combat is interesting and engaging to me, I'll just keep moving forward, regardless of the challenge. If it gets dull and boring, then I will go out of my way to over-level like crazy in order to bypass as much of your combat as possible with 1 hit kills, or quick finishes so I have to deal with it as minimally as possible.
If your enemies scale to my power level, then I'll skip as much combat as possible in order to keep enemy power low, and then use the equipment to be as powerful as possible to break the system.
I'd rather combat be "too easy and over quickly" than "too hard and take too long".
But, that's me, and it has little to do with my appreciation for "challenge". It depends on what your challenge is, for whether it'll interest me, and then it's up to you to execute it well... and if you don't, then just make the gameplay really quick and easy for me, so I can move along.