Should we just get new tires

In December we purchased a 2018 Crosstrek with only 53,000 miles. No accidents, in good condition. The tire light went on and we went back to the dealer (We had other things they needed to fix.) We had picked up a nail (no biggy I live in New York City where I swear the roads are made of glass and nails). The dealer patched it up. On the way home the tire light went on again.

When I got my last used car, we replaced all the tires. But that car was 15 years old with 125k. Do you think it's worth it replace the tires. I get conflicting information on the web.