Compiling it yourself from source is quite easy, you can find instruction here: https://www.sqlite.org/howtocompile.html
Here is an article from Julia Evans explaining it: https://jvns.ca/blog/2019/10/28/sqlite-is-really-easy-to-com...
Or if you are familiar with Docker, you can use a more recent Debian in a container and install sqlite inside it.