I am trying to learn if IPFS could be used to publicly store text files that should never be deleted
As long as your node, or another node has the data pinned*, it will never be deleted. However if no nodes have the data pinned*, ultimately the data will be purged by regular garbage collection.
*Data referenced in MFS is also retained.