Once I put a credit card in the ATM machine and wrote a pin from the cell phone, not from the card

I made it twice. The third time I did not dare. Later, at home I realized that I wrote the wrong pin.
That I made three times, the ATM would be swallowed my credit card he he