I’d say UE5 > Unity > UE4. I concluded that mostly from a 3D graphics perspective, UE has the best quality. Especially with version 5, which cleaned up the editor and made it more user-friendly. This closed the gap in user-friendliness with Unity.
Also UE5 is open source (Unity is not) which means we can do things like port Nanite to macOS ourselves.
Perhaps not a surprise, given the legal battle Apple encountered with Epic. A few months after the first UE5 teaser was announced.