If you have access to another working Mac, then you may be able to use it to create a bootable macOS USB installer.
All A1278 models can run macOS 10.11 El Capitan and that is the highest version of macOS that can be used on an Early/Mid-2009 MBPro. The other A1278 models from Late-2009 to mid-2012 can run macOS 10.13 as well with the mid-2012 model able to use macOS 10.15.
Generally the following are the Mac models compatible with various versions of macOS:
- macOS 10.15 -- 2012 to mid-2020
- macOS 10.13 -- Late-2009 to mid-2018
- macOS 10.11 -- 2007 to 2015
You can confirm a particular Mac is compatible with a certain OS by using the information in the following article:
https://eshop.macsales.com/guides/Mac_OS_X_Compatibility
Here is an Apple article with instructions for creating a bootable macOS USB installer if you have access to another working Mac compatible with an OS your A1278 laptop:
Create a bootable installer for macOS - Apple Support
If you don't have another Mac, perhaps a friend, family member, or co-worker has a compatible Mac.