Nouns ending in -ie are usually feminine, but le foie is masculine.
Foie is one of the rare exceptions: learn it as it is.
Plural: les foies
FrenchTextbook teaches rules like this, in French for beginners, the complete A1 course.
162 lessons, 4,000+ exercises, and 6+ hours of audio.
Get the course