I mean, we are hugely complicated gene-replication/improvement machines. So you have come to the ultimate conclusion without actually spelling it out.
If you really go to the basics then ones life is about attracting the best other-side of the genes to replicate with (this is the part where you try to impress with brains/humor/sportscar that you have the best available genes) and make sure they survive + get a nice boost in their part of attracting best genes.
I'd say there is an extra dimension now to make sure the environment where generations down genes of yourself have a good chance of surviving, but this is not yet programmed into genes.