Then when their Messengers came to them with clear proofs, they were glad (and proud) with that which they had of the knowledge (of worldly things): And that at which they used to mock, surrounded them (i.e. the punishment).
Mock: to laugh at someone, often by copying them in a funny but unkind way, make fun of