PERFECTION VS IMPERFECTION
The potential for sin, which includes hatred, would have always been possible because anytime you set a standard of conduct as good, anything else is automatically bad.
The thing you must keep in mind is what is a perfect person like as opposed to an imperfect person. They are the opposite, of course. Genesis 6:5;8:21 tells us that imperfect humans are mentally bent toward evil. Jeremiah 17:9 tells us the human heart is treacherous and we cannot know it. Paul tells us our natural desire is to do bad.
So, a perfect person would naturally be mentally bent toward goodness, fully knowing their heart (inner person), and the perfect person's natural desire would be to do good. There would not be any coveting your neighbor's wife even when she would have been naked. Their natural inclination is always good. And to do otherwise was to go against the grain, like swimming up Niagara Falls. The imperfect person is like swimming down Niagra Falls.
How Could Satan, Adam, and Eve Have Sinned If They Were Perfect?
https://christianpublishinghou....se.co/2019/08/17/how