There's a Latin idiom that sounds like this: Noli equi dentes inspicere donati. Meaning, you don't look a gift horse in the mouth. A guy named John Heywood supposedly used this phrase in some Middle English text way back in 1546 but some experts think it's much older than that.