It is both at the same time, for I don’t see how the two are incompatible or mutually exclusive of one another. From the time you open your eyes upon arriving in our world, you are taking in the world through your senses. We are bombarded with seemingly random acts that happen to us, that are created by us, and that are interpreted by us. Life does have a purpose; it’s just that it is up to each of other to determine what that purpose is.
What is consciousness? Is it not making sense of what we seeing, feeling, smelling, touching, hearing, thinking, becoming, and relating to life around us? Then I submit to you that life itself is a compilation of random acts (or can be interpreted as such). If a tree falls in the forest but there is no one around, does it make a sound?
Say an apple falls on your head from an apple tree. It’s up to you to attribute that to: an act of an angry God (who has decided you need a good bump on your noggin to wake you up); gravity pulling the apple to the earth and you just happen to be underneath it; invisible aliens who are there to test your cranium’s capacity for impact; the tree itself is a sentient being which senses your hunger so it lets one of its fruit fall to earth, hitting you on the head; use of your telekinesis ability that was triggered by your hunger so you, yourself caused the apple to fall.