1 with Dave
"
Good glass is worth every penny"
"
Invest in glass, waste in body"
Dave gave you some excellent advice. Another perspective is some financial consideration. New dSLR camera body comes out every year. Your new camera will loose almost 50% of its value within the first 12 months. On the other hand, a good lens is always a good lens and will still be a good lens in 5-10 years. Its value will increase with time in most cases. It can be used on newer cameras and its does not loose its value.
I use the expression 'good glass' for non-kit lenses. (Nothing against kit lenses, but simply a fiinancial perspective.) The kit lenses are not bad, but there are superb lenses with K-mount (the Pentax mount) that you can use and re-use on any Pentax dSLRs. Dave mentioned the FA31mm Ltd and it is a classical example. Developed for full-frame film cameras, the lens is still loved by dSLR Pentaxians: see its rating in the User reviews in this Forum (
https://www.pentaxforums.com/lensreviews/SMC-Pentax-FA-31mm-F1.8-Limited-Lens.html).
I would say: invest in a good lens after carefully considering what lens is best for you (prime or zoom, range of focal length(s)). Everybody is different and each one of us will have some different preferences. The lens is more important than the camera body however. If you are happy with the *ist DL, keep it and use it to develop you skills. In a few months/years, you can then consider another body and will have save yourself a lot of money....
Hope that the comments will help....