Is pentax a good camera brand?

Yes, Pentax are a reputable manufacturer of good cameras. There are several other ones of comparable reputation, and if you do a google (or duckduckgo) search for camera reviews, you'll soon be better informed.
Don't buy too much in advance of your present day need, for the camera field continues to advance in performance, and reduction in price.