Lastpass versus iCloud Keychain

iOS and iPadOS

TIl now am still using a very old way of keeping my passwords, i always wrote them in txt files, but am thinking for an alternative, specially my credit cards numbers etc.
so, what is the best ? to use the Icloud Keychain, or switch to Lastpass? and can Icloud Keychain keep my Credit card information etc? is it safe?
YOur suggestions please