Frankly, you’ll enjoy Foundaton more if you don’t read the books first. Otherwise, you’ll be sitting there shaking you head wondering why they continuously mangle the core concept of the books so badly, despite characters occasionally directly stating how it works (only for the same episode otherwise showing utter disregard for said statement)
The Empire focused half of the show that was mostly made up specifically for the show is EXCELLENT tho, and really worth watching.
They should have just stuck with that and called the show Empire IMHO. Would have been an instant classic.