The Forth Bridge is a very long bridge that is permanently being painted. "Like painting the Forth Bridge" is a job that (feels like it) will never end.
https://idioms.thefreedictionary.com/be+like+painting+the+Fo...
https://idioms.thefreedictionary.com/be+like+painting+the+Fo...