If you can afford it, then go for it. It has an MSRP of $350, which is about the same price as the older GTX 1070 retailed for. Tests show that it's pretty comparable to the GTX 1070 as well. However, one of the advantages that the 1070 had over the 2060 is that the 1070 had 8GB of RAM, whereas the 2060 only has 6GB. So if you can get a 1070, you'd get similar performance and less likelihood that textures would overflow its buffer. The GTX 1060 also had 6GB of RAM, and there were many reports that its buffer was overflowing when set at higher resolutions and highest graphics settings, but its direct competitor the RX 580 with 8GB had no such problems.
Another option on the Nvidia side of things, would be to get a GTX 1660 Ti, which would also be 6GB, but similar performance without the raytracing. It should also be much cheaper, around $250.