thats not very long for a female betta to live and die naturally
as asked, what size of tank do you have?
do you have a heater?
what were the water parameters? (if you recored them at the time)
did you have plants or hiding spot for your betta?
if you want a long lasting betta the requirement must be met to make a happy, healthy betta :D