Piece of code doesn’t work for no reason

I made a cookie clicker game as I said in my website bugs post and I piece of code that should work fine, doesn’t work for the first 3 times.

Images don’t work so the code is in text terms

When clicked {
If “finger price” < “cookies” {
Change “finger price” 10

What are the values of "finger price" and "cookies" when it doesn't add 10 to "finger price"

it needs to be greater than or equal to not less than

It’s not a certain value it’s the first three times you buy it.

That shouldn’t change the results if cookie is 11 and price is 10