That output indicates that the PHP CLI is using PHP 8.0. Moodle 3.9 doesn't support PHP 8.0. You need to use PHP 7.4 (or 7.2/7.3, but PHP 7.4 is in the relevant Ubuntu 20.04 repository).
Please run:
sudo update-alternatives --config php
and change it to PHP 7.4 using the prompt. Enter the number to the left of the option that indicates PHP 7.4. Then run /usr/bin/php -v and check it changed, and finally try running the cron script.
If PHP 7.4 isn't listed, that's a problem.
You should also be using PHP 7.4 for serving web requests (as opposed to CLI requests). I'd be a bit surprised if you managed to install Moodle using PHP 8.0. However, you can verify you are using PHP 7.4 for serving web requests by creating a file called 'somethingrandom.php' in /var/www/moodle with the content:
<?php phpinfo(); ?>
(change somethingrandom to anything)
Open your site with http://yoursite/somethingrandom.php. The version number will be prominently listed. Delete this file when finished.
If it says PHP 8.0, that's also a problem.
If you're using
Apache, solve these problems with:
sudo apt install php7.4 php7.4-curl php7.4-gd php7.4-intl php7.4-json php7.4-mbstring php7.4-
mysql php7.4-soap php7.4-
xml php7.4-xmlrpc php7.4-zip
sudo a2dismod php8.0
sudo a2enmod php7.4
sudo service apache2 restart
sudo update-alternatives --config php