The Book of Psalms makes it clear that God's goodness and compassion are not reserved just for humans but extend to all of His creatures.
Psalm 36:6 praises the Deity, saying that animals as well as humans are subject to His protection: “Thy righteousness is like the great mountains.... O Lord, thou preservest man and beast. How excellent is thy loving kindness, O God! Therefore the children of men put their trust under the shadow of thy wings.”
Psalm 145 reiterates this theme of God's concern for all His creatures: “The Lord is good to all, and His tender mercies are over all His works … thou satisfiest the desire of every living thing.”