Origin of souls/insects

Good evening, I had several inquiries enter my mind this evening after I saw a ladybug get flushed down a sink. I am hoping this may be a place where people more educated on the subject could help.

I’ll try to articulate my thoughts clearly.

I found myself thinking about the number of living things on Earth, which must number at least in the trillions, especially considering insects. If each has a soul and if the organism you’re born into is based upon actions in your past life, then do we assume most people behaved poorly and were reborn into the life of an insect? Is the life of an insect even due to behaving poorly?

Were all of us given a fair first start in the life of an organism that could effectively build good karma through conscious actions, or were most originally born into insects and have been stuck there for millions of years?

If you can gain a higher level of conciseness through good actions, then how does something like a ladybug ever be anything other than a ladybug?