I believe the PS3 was.
Very powerful machine, Sony was losing money on every sale.
Full of features including a web browser (which at the time was very impressive).
Full online functionality without any monthly costs
Upgradable hard drive
Full backwards compatibility (at launch).
It just didn’t sell as much as the ps2