Sounds like you took very good care of him. He may have had an underlying problem you never saw... You never know. Cannot blame yourself :) Sorry you lost your betta.
Breed for the breed, not for the money; the words any REAL breeder would understand.
You must know nothing in order to know all, for all is nothing and nothing is for all.