[…] for I the Lord your God am a jealous God, punishing children for the iniquity of parents, to the third and the fourth generation of those who reject me, but showing steadfast love to the thousandth generation of those who love me and keep my commandments.
The Ten Commandments, stating explicitly that his love is conditional (and that punishing children for their parents’ sins is A-okay).
Pretty simple when you read the bible. All that “love” and “forgiveness” come with pretty strong terms and conditions attached.