Only when absolutely required, and everything I run is supported by the newer version.
For instance, XF 2.2 requires PHP 7.0 with a minimum of 8.2, but does not behave well on 8.2 or 7.0 with the add ons I have, and I have a couple of licenses for 2.2 that I might pop up before upgrading to...