Yes, it was conditional. And to whom? The nation of Israel. Right?
Thats why it is called the OT.
We are living according the NT. Right?
And what is the Gospel? Why it is called gospel? Because of the message: who believes in Jesus Christ has eternal life! !