Question Can't install macOS

Muhamad-j1234

Reputable
Dec 31, 2020
170
3
4,615
Hi all,
I got a 2008 iMac and am trying to install macOS. The recovery mode won't work, so I've made install USBs. I've tried all apart from mavericks. Yosemite and El Capitan ask for my apple ID then give error 403. Lion, Snow leopard and leopard don't work, and give an error before install anything. I'm trying mavericks now.
Thanks