If a problem turns out harder than you expected, you can reevaluate if it's worth the effort. If the reward for a solution is minor, then it could be reasonable to do something else instead. But don't think the problem is being harder than it *should* be and get offended by that. You were wrong about how hard the problem is or how skilled you are. Accept that reality and change your mind appropriately.