If you’re using epoxy paint, then yes, painting your basement floor is a good idea!
Proper epoxy paint coatings are resistant to water and moisture, so they’re very durable in damp basement environments that may have problems with excess moisture at certains times of year.
Epoxy paint also is very resistant to foot traffic and dropped objects and it’s very easy to keep clean – you just sweep it with a soft-bristle brush and mop it every now and then.
If taken care of properly, it can last for 10-20 years or more.