weighed (in the balance) and found wanting
Tested and proved faulty. This expression comes from the Bible, as part of Daniel’s interpretation to King Belshazzar of the writing on the wall (Daniel 5:27). It has been used ever since to mean a deficiency or failure.