If you go to previous comments on this thread, you'll find a lot of issues with civic x 2017-2019.
Everyone has got its own experience with it but people were largely affected by fuel pump and steering rack issues.
If you don't want any doubt then don't buy it, otherwise buy a car from whom, who can confirm he has got it changed (faulty pump and steering rack).