I used Ubuntu in my college for some light programming and felt really happy about it.
I am more interested in switching to Debian 12 than Ubuntu, since the former is really stable. Also, I came to know installing Debian is easier since it supports non free firmware.
I love Debian! It is a project which provides a lot for the OpenSource and Linux community.
And yes, it is the most stable Linux you can have.
Personally I would suggest to start with a distribution with more actual packages like Fedora, Manjaro or even Arch.