YouTube automatically transcodes any video uploaded in an H.264 master file and creates multiple versions of the same video in various streamable formats.
Anything beyond that, such as additional rendering or uploading extra files, is unnecessary and wastes time for the rendering, upload time, YouTube's transcoding time, and storage space (if you keep a backup and don't transcode them to smaller files).
The key factor to consider is resolution. Videos uploaded at 1440p or 4K often look better when played back on YouTube at 1080p. This was due to YouTube using different encoding methods for videos at 1080p and below compared to those above 1080p. While I’m not sure if this is still true today, it was the case for many years.
Ultimately, what matters is that your video is high quality, looks clean and sharp locally. That's it.
All streaming versions are derived from YouTube’s own "master" file. Everything else is overkill.
On top of that, YouTube will butcher it anyway for the streamed version of these files

Less for those who have YouTube premium which can offer a higher bitrate for certain channel.
Unless someone is a massive creator with millions of daily views, like MrBeast, or specific channels, only a select few channels can upload and stream 8K videos, in HDR, ect. These creators often have access to additional features and a different process that prioritizes their content in terms of quality and capabilities.
For 98% of other YouTube users, the only thing that really matters is uploading a good-quality video file with a resolution higher than 1080p.