One of the most painful but in hindsight obvious truths I discovered in life was that you need to be able to help yourself first before you can even attempt to help someone else. Your quote from Matthew highlights that.