You maybe able to fix it. Probably needs a new hard drive. It works if you have a OS in an external drive
MacBook Pro 13”. Mid 2012
2.53 GHz Intel Core 2 Duo
4GB of memory DDR3
Model A1278
Max Software: Catalina 10.15.7 or use Open Core Legacy Patcher
Comes with a power supply and cord as in the photo.