In each of our characters, there's a little bit of us in them. Which is nice because it's easier writing characters when they think like us. But if a character thinks differently than you it's a little bit harder to write but it's so good for a story to have the character think and act differently than us and the other characters. But something as writers we need to remember (specifically myself), is that we need to think the way the character thinks instead of what we think or how we'll react in the character's situation.
I almost had a character in my novel do something she wouldn't have done because that is what I would do in her situation. I'm glad I caught that mistake before I wrote that but sometimes I think we all need a little reminder about how characters are their own people and not always a copy of us.
I hope this was helpful! Good luck writers!