Right now, either way until I get a reply from you, you need to start with locating install discs to install Mac OS X onto that 2008 MacBook, first.
You will need to find Mac OS X 10.6.3 Snow Leopard full install discs to start the Mac OS X install process.
Try Amazon or eBay for a full set of Mac OS X Snow Leopard 10.6.3 install this Mac OS first.
You will need to find, purchase and install this set of discs, first!
Use these disc to first to install Mac OS X 10.6.3.
Once Mac OS X 10.6.3 is installed, then, use the Mac OS Software Update feature in the System Preferences to upgrade that Mac to Mac OS X Snow Leopard 10.6.8.
Once Mac OS X 10.6.8 Snow Leopard is installed, from MacOS X 10.6.8, If an early or mid 2008 MacBook, these MacBook models can ONLY upgrade to Mac OS X Lion 10.7.5 .
This is a pay upgrade that you can get an Apple Mac App Store online paid download code here below.
https://www.apple.com/shop/product/D6106Z/A/os-x-lion?fnode=fc2e4594b4b6d87c70c581eea3c68cb94808e939bb1e57580fae13af87a838e13c1d13a1fa76a512e7c73ede132c37711cc524cb82c8ffc3b7d37aaead03d47b7de2727431baa53093a0342ec966b10ed514bfccfd961ce9203a2e234194e27f
This Mac OS X version is the highest Mac OS X version these early 2008 MacBooks can go.
If you have an aluminium cased 2008 MacBook, once Mac OS X 10.6.8 Snow Leopard is installed, these MacBooks can be directly upgraded to either Mac OS X Yosemite 10.10.5 OR Mac OS X El Capitán 10.11.6.
How to upgrade to OS X Yosemite - Apple Support
How to upgrade to OS X El Capitan - Apple Support
Mac OS X Mavericks 10.9.5 is NO LONGER AVAILABLE from the Mac App Store!
Good Luck to You!