Allah's Messenger (ﷺ) said, "The best alms is that which you give when you are rich, and you should start first to support your dependants."
Sahih al-Bukhari Book 69, Hadith 6