In 2 Kings 12:9, the priest Jehoiada bored a hole in the lid of a chest and placed it near the first altar, however this was to fund maintenance rather than alms.
The action described in 2 Kings 12:9 involved placing a hole in a chest lid near an altar for the purpose of funding its maintenance, not providing alms.