I’m sorry for your loss, honey.
I think it really depends on how close you are to the person who passes. Tbh, I haven’t been close to a side of my family in over a decade. When my Grandfather passed after a battle with lung cancer and other health issues. At the funeral, I didn’t cry- I was sad, of course, for the people and family that were close to him, but I didn’t feel that I needed to cry. One of my younger cousins said “you’re supposed to cry at funerals” and I asked her “why?” when she couldn’t answer the question I said “think about that for a bit.” and continued to watch the service. I’m sure people think I am cold or detached because I am a very rational person.
I don’t think you are a bad person or an evil person because you didn’t cry. Everyone expresses themselves differently and some people are not comfortable with open displays of emotions, be they sad or happy emotions … and again, that does not make you a bad person. There’s nothing wrong with being reserved and rational. Don’t feel like you owe anyone anything for how you choose to grieve or not grieve.