I am thinking about switching from Windows to Debian 12 Bookworm
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 will say, in my experience, the “stability” boost that Debain has over other distros very rarely shows itself for a normal desktop user. It’s more for mission-critical/long-term business calculations where that stability makes a difference. Ubuntu LTS is incredibly “stable” for most desktop users, in that it will do what you want it to without fail, and will have safe, up-to-date programs (that last part is not always the case for Debian).