What does PC offer to you besides gaming?

So I am sitting on the fence between building a PC or a PS5 Slim for gaming.

Here is the thing, PC is more expensive but I can't find more usages of PC besides gaming to pay more money. My laptop can handle all of my programming work.

So I am thinking do I even need to build a PC for just gaming or should I just go with PS5?