This is a silly question, really, because there is no such thing as “good” there are laptops fit for a given task.
Second: today almost all laptops sport the same Intel U series CPU (whether 6th or 7th generation matters little) and overemphasize thinness over other features. They sport a more or less unusable island style keyboard. Admittedly, the ThinkPad keyboard is closest to being usable but compared to the old ThinkPad keyboards, their layout is vastly inferior, as they are six row only compared to the seven row keyboards ended with the x20 series in 2011. At least they sport TrackPoints still.
So in basics the Lenovo-HP-Dell laptops will be the same with matching models and the ThinkPads having slightly better keyboards — but. The ThinkPad has been behind in smaller details for a very long time, been slow on the USB C uptake and so forth. This generation the T470p still doesn’t have a USB C and the 7th generation Intel CPU in the T570 is paired with a slow 940MX GPU while the XPS 15 is paired with a screaming fast 1050.