Yep. And Proverbs 12:10 confirms that G-d considers those who care properly for their animals are among the righteous, and those who do not are “wicked”.
PROVERBS 12:10
10 The righteous care for the needs of their animals,
but the kindest acts of the wicked are cruel.