The K7 is
not a bad camera when it comes to low light ... it's just that many other cameras on the market are better (Kx, Kr, K5 and recent CaNikons amongst others). That doesn't mean you can't take great shots with it in low light !
I am in the same boat as you in a way. I have the K7 now and the K5 will be arriving in a couple of weeks ... however I will need to have 2 bodies this year (for some commercial shoots) and I have been debating whether to sell the K7 (it's actually up for sale where I live now) and get the Kr (for the new sensor and AF) or stick with the K7 for the factors already listed in this thread and for the fact that the K5 & K7 share an almost identical interface (which would make it very easy during a shoot).
This thread actually swings me back towards keeping the K7 because I know it can take some great low light shots - the K7's focus assist & pentaprism facing off against the Kr's better high ISO performance.
And then there is something else which I didn't realise made
sooooo much difference until I bought the Tamron 17-50 last weekend, even though I have several very fast lenses. The lense makes a huge difference to the ability of any given camera to focus quickly and efficiently - even in low light.
These were all taken in low light, as you can see, and yet I had almost immediate focus lock for every one of them (K7 & T 17-50).
https://www.pentaxforums.com/forums/post-your-photos/126657-landscape-sunset-...west-lake.html