The Bible writers spoke as if God has emotions, and most Christians through history have spoken and behaved as if this were true. But to understand what that means you have to understand what emotions are.
Christian apologists argue for the possibility of the existence of a God that exists beyond the realm of human reason. But what they usually want is to create intellectual space for their belief in the person-god of the Bible.
Many believers never outgrow their childhood concept of God as a kind or mean daddy in the sky, one who needs our admiration, can be cajoled for special favors, and covers or beats our backs when we get ourselves into trouble.
The idea that God has emotions seems so natural that most people who believe in gods never question it. The God of the Bible gets angry, has regrets, gets lonely, loves, has loyalties, is jealous, feels compassion, and is vindictive.