I found an alternative solution by updating Raspberry Pi package list:
sudo nano /etc/apt/sources.list
then I added this line:
deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
Save & exit the file, then type:
sudo apt update
sudo apt install sqlite3 -t bullseye
Once it’s done installing/updating you can check the sqlite3 version by typing:
sqlite3 --version
It should output something like this:
3.34.1 2021-01-20 14:10:07 10e20c0b43500cfb9bbc0eaa061c57514f715d87238f4d835880cd846b9ealt1
FYI, my RaspberryPi3 is running
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"