Jesus was teaching in the court of the women when He warned His disciples to beware of the scribes. That was a pronouncement of how God sees the outward expressions of piety when the inward man is evil. He watched the rich people openly displaying their supposed devotion to God by putting money into the thirteen boxes there for that purpose. Then He saw a widow put in two mites, and He used that as a teaching moment to illustrate what actual giving to God is like. What she did was in contrast to what the scribes did to the widows when they “devoured widows' houses and, for a show, made long prayers.”
God looks at the hearts of those who give to Him from that which they have. The widow the Lord used as a teaching illustration could have kept one mite, half of her living, and she would still have been an incredibly generous giver. When she gave all she had to God, the Creator of the universe stopped His teaching and took special notice of that event and that widowed woman. He knew who she was, what she thought about God, and why she held nothing back.
It’s not what we give or how much that truly matters, but what we have left. What we give to the Lord is known to Him, and He is the only one who has the right to know both the motivation and the amount. A person whose gift is given sincerely from the heart out of devotion to the Lord is someone who pleases God. The cost to the giver isn’t the percentage they give, but the willingness behind the gift and what we do with what we have kept for ourselves.
