How far is the difference between a rim brake and a disc brake?

I'm planning to get my first road bike. I would love to get my hands on a road bike that has hydraulic brakes since I've been an mtb rider for some years.

But this is my first. I would like to get an entry level road bike before diving into it and spend some money.

Did some research and saw a GCN video that rim brakes are better than entry level mechanical disc. Also rim brakes are easier to maintain.

But I'm willing to spend extra if I see a good secondhand deal in fb marketplace.

Is rim brakes enough? Or is spending extra money worth for a bike with good hydraulic disc brakes?