I had a male betta that we had put in with our guppies he did good for about 2 months and then went aggressive, so i pulled him out and put him in a 5 gal tank by himself.
Then added some shrimp and snails he did good with them.
He died at a few years old, but he didnt seem to mind not having...