The song "With a Little Bit of Luck" is sung by Alfred P. Doolittle (Eliza's father), not Eliza Doolittle.
Act 1: Doolittle, a dustman, learns his daughter has been taken in by Professor Higgins. He celebrates his unexpected good fortune—philosophizing that luck, not morality, governs life. He's optimistic about profiting from the situation, not about personal transformation.
The song reveals Doolittle's roguish charm, anti-work ethic, and opportunism—contrasting sharply with Eliza's earnest striving for self-improvement.