On balance, You settle for a dollop of the first and a whole lot of the second. Likewise, if Your people are going to be fruitful and multiply, they'd better remember to have sex. Again, there are two approaches. And again, You opt for a little of one and a lot of the other. The whole thing is like a game, where God's goal is for humans to thrive and replenish the Earth, while the humans' goal is simply to feel good.
Humans go second, taking their psyches as given and deciding how to behave.
At first blush, it might seem odd of God to make you crave things that are bad for you. So, we're tempted by the things that are good for most of the people most of the time, even if they're not good for all of the people all of the time. That's a nice simple theory and it seems to make sense. That's a riddle. If cashews are ordinarily bad for humans, they shouldn't tempt us in the first place.