I don't understand why this error comes, maybe because my PHP version is 7.2.11..
What you need to do is first check your cli PHP version by running php -v and if it's less than 7.0 you need to change it. Depending on your operating system, there are different methods to do that.
Not the answer you're looking for? Browse other questions tagged theme installation magento2.3 or ask your own question.
how to install theme in Magento 2?