So much this, ten thousand steps is a completely arbitrary number anyway. Just knowing your actual step count is great though, because from there you can start nudging your targets up bit by bit.
Beyond that, it's worth thinking about it a different way. How much do you naturally move in a day without any dedicated exercise at all? I changed how I thought about movement years back and it made a real difference to how I feel day to day. When I know I'm about to get absorbed in something for hours, I'll set a timer regardless and force myself up when it rings, bathroom, making tea, letting the dog out, whatever excuse works. Worth looking into the pomodoro method if that sounds useful. I also stopped trying to be efficient, carrying everything in one trip to save steps, and started doing the opposite, more trips on purpose because I need the movement anyway. I never bother hunting for the closest parking space either, why would I care about walking a bit further? Even getting up off the sofa counts as a sort of squat if you think about it.
Those two changes alone bumped up how much I move through an ordinary day by quite a lot. I once compared notes with my trainer on step counts for a lazy day against a busy day against an actual exercise day, and it turns out I move a fair bit more than average even on days that feel like pure couch time. That definitely wasn't true for me before, the shift happened after I ended up with blood clots in one of my legs, from being sedentary for too long.
Pushing through knee pain tends to end badly. I had knee trouble myself and started working with a trainer on strengthening everything around it, the muscles above, below, and the stabilisers, and I barely notice it these days. No guarantee you'd have the same luck but it might be worth trying if you can manage it safely on your own.
Wishing you loads of luck with this, it's really frustrating when you're doing the right things and your body just won't cooperate.