RPi is not a good analog compared to Arduino.
The main feature of classic Arduino boards has always been a thin abstraction layer on bare metal. RPi is not that at all.
(As mentioned by the other commenter, I'm referring to their Linux boards, not the Pico)