What are the advantages of choosing UE4 over Unity?

Well I just don’t want to waste my time learning both. I have never programmed before so I am just starting out with a book I got.

So I think I will go with UE4 C++ which sounds like the safest route.

I heard of Cry Engine etc but that is likely for big studios and people who know what they are doing.