Read in 1 Samuel 17-18 about David and Goliath and David’s subsequent rise to prominence in spite of Saul’s jealous wrath. The unfolding of history was along the will of God, which was to make David king after Saul. Somehow all the actors were acting out of their own volitions. The narrative told us David acted wisely in serving Saul and Israel. If we believe what we believe, then I would say on the one hand that David was listening to and obeying God’s voice; on the other hand, Saul was acting out of his own jealousy and pride and God was not speaking much to him. We read in 18:12: “Now Saul was afraid of David, because [YHWH] was with him, but had departed from Saul.”
Another way of looking at it could be that God was also giving Saul wisdom but Saul ignored God’s voice. It was Saul who sent away God’s Spirit and not God who forsook Saul.
God’s Spirit speaks to God’s children all the time. The degree to which we listen to and obey God’s Spirit determines how much God can reach out through us to transform our sphere of influence.