Samsung Galaxy S24 Ultra or Google Pixel 9?

Hey there, since my Samsung S7 Edge is currently slowly but surely dying on me, after 8 years of use, I'd like to get myself a new android phone.

Both the Pixel 9 and the S24 Ultra seem like solid choices for the next 5+ years.

However aside from the more obvious differences in phone size + storage space (512gb vs 256gb) etc. are there more nuanced differences you guys can think of?

I did do quite some research, watching/reading multiple reviews and so on but I'm sure some of you can offer some useful info on top of what I've already acquired.

Thank you guys! :D