Check your RP3 power!

Lots of posts in the past over poor power supplies. But here is an easy way to check:

vcgencmd get_throttled

You want that to return 0. If not it means that the Raspberry is throttling itself due to low voltage, or other factors. These can be a bad cable or power supply. This also leads to the SD corruption.