bcrypt always return faslse in node js

const bcrypt = require('bcrypt');
const saltRounds = 10;
const plainTextPassword = 'your_password_here';

// Step 1: Generate a salt
const salt = bcrypt.genSaltSync(saltRounds);

// Step 2: Hash the password with the generated salt
const hashedPassword = bcrypt.hashSync(plainTextPassword, salt);

// Step 3: Compare the original password with the hashed password
const isMatch = bcrypt.compareSync('your_password_to_check', hashedPassword);

// 'isMatch' will be true if the passwords match, otherwise, it will be false
console.log(isMatch);