B2 verb /fɔɪl/
foil
Meaning
To prevent something (especially a plan) from succeeding.
Example
The police foiled the robbery attempt.