I’m looking for a cheap car to use for a food delivery side job that I do...it’s a 1997 Nissan Sentra with 159000 miles? Are these good vehicles?

I heard from some mechanic youtubers that these are one of the most reliable Nissans ever made. They were quite good but just realize it is old and needs to have been taken care of, so have a mechanic take a look at it and don't pay much.
Also please don't get in a wreck with one
Btw the 2016 Nissan Tsuru is basically a 1994-1997 Nissan Sentra sold in Mexico (so this applies to the 97 Sentra):
https://www.youtube.com/watch?v=85OysZ_4lp0
If you can get it for practically nothing <$1000, and a mechanic checks it out before you buy it to verify it’s in decent shape, sure.
Nissan was making solid cars back in 1997. Scotty has a video on the 2001 Sentra - https://youtu.be/H4a9UunV97g
If the engine or transmission needs any work though, just look elsewhere for a similar aged Corolla/Civic. Those will last forever too, with just minimal maintenance.